Turink Account API Key Controller API

The account-api-key-controller API from Turink — 3 operation(s) for account-api-key-controller.

GitHub OpenAPI

Operations 4

GET /api/v1/account/api-keys List 2 #
POST /api/v1/account/api-keys Create 2 #
POST /api/v1/account/api-keys/{id}/revoke Revoke #
GET /api/v1/account/api-key-scopes Scope options #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/turink-com:turink-com-account-api-key-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

turink-com-account-api-key-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostMD Account API Key Controller API
  description: 'Markdown documents published as web pages.


    Publishing, reading, and changing or deleting a document that has no password need no credential. A document with a password takes it in the `X-Document-Password` header. An API key, issued from the web app and sent as `Authorization: Bearer pmk_...`, makes the documents it publishes its owner''s and is needed for groups, notes and a member''s own lists. Each operation below says which applies.


    A document code forms two addresses: `/d/{docCode}` is the viewer a person opens, `/share/{docCode}` is the address to hand out because it carries the title in link previews. Neither returns the document to a caller that does not run scripts: the viewer returns a service notice and the share address a short page holding only the title. The document itself comes from `GET /api/v1/documents/{docCode}/raw`.


    A document can be revised in edit mode, where the server holds a working copy that readers do not see until it is applied.


    This specification covers the endpoints only. What the service can do and which page describes each thing is listed at `/llms.txt`. One capability is not an endpoint at all: a document can carry graph data inside its markdown, described at `/docs/graph`.'
  version: v1
servers:
- url: https://postmd.turink.com
  description: Generated server url
tags:
- name: account-api-key-controller
paths:
  /api/v1/account/api-keys:
    get:
      tags:
      - account-api-key-controller
      operationId: list_2
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponseListKeyItem'
      security:
      - apiKey: []
      summary: List 2
      x-summary-source: derived
    post:
      tags:
      - account-api-key-controller
      operationId: create_2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponseCreatedKey'
      security:
      - apiKey: []
      summary: Create 2
      x-summary-source: derived
  /api/v1/account/api-keys/{id}/revoke:
    post:
      tags:
      - account-api-key-controller
      operationId: revoke
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponseVoid'
      security:
      - apiKey: []
      summary: Revoke
      x-summary-source: derived
  /api/v1/account/api-key-scopes:
    get:
      tags:
      - account-api-key-controller
      operationId: scopeOptions
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ApiResponseListScopeOption'
      security:
      - apiKey: []
      summary: Scope options
      x-summary-source: derived
components:
  schemas:
    KeyItem:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        description:
          type: string
        keyPrefix:
          type: string
        scopes:
          type: array
          items:
            type: string
        expireDate:
          type: string
        status:
          type: string
          enum:
          - ACTIVE
          - EXPIRED
          - REVOKED
        createdAt:
          type: string
          format: date-time
    ScopeOption:
      type: object
      properties:
        code:
          type: string
        description:
          type: string
    Pagination:
      type: object
      properties:
        totalItemCount:
          type: integer
          format: int64
        pageItemCount:
          type: integer
          format: int32
        pageNo:
          type: integer
          format: int32
    CreateRequest:
      type: object
      properties:
        name:
          type: string
          maxLength: 100
          minLength: 0
      required:
      - name
    ApiResponseCreatedKey:
      type: object
      properties:
        resultCode:
          type: string
        message:
          type: string
        pagination:
          $ref: '#/components/schemas/Pagination'
        data:
          $ref: '#/components/schemas/CreatedKey'
    ApiResponseListKeyItem:
      type: object
      properties:
        resultCode:
          type: string
        message:
          type: string
        pagination:
          $ref: '#/components/schemas/Pagination'
        data:
          type: array
          items:
            $ref: '#/components/schemas/KeyItem'
    ApiResponseVoid:
      type: object
      properties:
        resultCode:
          type: string
        message:
          type: string
        pagination:
          $ref: '#/components/schemas/Pagination'
        data: {}
    ApiResponseListScopeOption:
      type: object
      properties:
        resultCode:
          type: string
        message:
          type: string
        pagination:
          $ref: '#/components/schemas/Pagination'
        data:
          type: array
          items:
            $ref: '#/components/schemas/ScopeOption'
    CreatedKey:
      type: object
      properties:
        apiKey:
          type: string
        info:
          $ref: '#/components/schemas/KeyItem'
  securitySchemes:
    apiKey:
      type: http
      description: 'API key issued from the web app. The value starts with `pmk_` and is shown once at creation.


        Scopes are independent: `documents:write` does not grant `documents:read`.'
      scheme: bearer