Sendora Keys API

A server's own keys under one of them, up to two live at once; an account key manages them under /v1/servers/{id}/tokens, and the account's own keys are created in the dashboard.

GitHub OpenAPI

Operations 4

POST /v1/tokens Create a key #
GET /v1/tokens List the keys #
GET /v1/tokens/{id} Read a key #
DELETE /v1/tokens/{id} Revoke a key #

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/sendora-se:sendora-se-keys-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

sendora-se-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sendora Se Keys API
  version: '1'
  description: 'Operations tagged Keys across 2 of this provider''s published API definitions: openapi.json, sendora-se-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.sendora.se
tags:
- name: Keys
  description: A server's own keys under one of them, up to two live at once; an account key manages them under /v1/servers/{id}/tokens, and the account's own keys are created in the dashboard.
paths:
  /v1/tokens:
    post:
      summary: Create a key
      tags:
      - Keys
      description: 'Creates another live key for this server and answers its value once; it is never shown again. Every key of a server has the same rights. A server holds at most two live keys: the one in use and the one being rotated in.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: 1 to 100 characters.
              required:
              - name
            examples:
              example:
                summary: A named key
                value:
                  name: Invoicing system
      security:
      - bearer: []
      responses:
        '201':
          description: The new key, its value shown this once.
          content:
            application/json:
              schema:
                type: object
                properties:
                  tokenId:
                    type: string
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  name:
                    type: string
                    description: The name given at creation, for people to tell keys apart.
                  prefix:
                    type: string
                    description: The first characters of the key, to match it with a value in hand.
                  createdAt:
                    type: string
                    format: date-time
                    pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  revokedAt:
                    anyOf:
                    - type: string
                      format: date-time
                      pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                    - type: 'null'
                  token:
                    type: string
                    description: The key itself, shown this once.
                required:
                - tokenId
                - name
                - prefix
                - createdAt
                - revokedAt
                - token
                additionalProperties: false
                description: The new key, its value shown this once.
              examples:
                example:
                  summary: A new key
                  value:
                    tokenId: 3b0c9e2f-6d4a-4e8b-8a1c-9f2d7e6c5b40
                    name: Invoicing system
                    prefix: sk_a1b2c3d4e5
                    createdAt: '2026-09-15T12:00:00.000Z'
                    revokedAt: null
                    token: sk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v
        '400':
          description: The body, the query or a header does not match what the route takes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - invalid_request
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                  issues:
                    description: One entry per invalid field; absent when a header is wrong.
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                          description: The field, dotted, such as to.0.email; empty when the whole body is wrong.
                        message:
                          type: string
                      required:
                      - path
                      - message
                      additionalProperties: false
                required:
                - error
                - message
                additionalProperties: false
                description: The body, the query or a header does not match what the route takes.
              example:
                error: invalid_request
                message: 'The request is invalid: to.0: Invalid email address'
                issues:
                - path: to.0
                  message: Invalid email address
        '401':
          description: The key is missing, malformed or revoked.
          headers:
            WWW-Authenticate:
              schema:
                type: string
                enum:
                - Bearer
              description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - unauthorized
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: The key is missing, malformed or revoked.
        '403':
          description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - wrong_token_kind
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - not_for_connections
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app called an operation that no tool of the MCP server calls. An API key can.
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - read_only_connection
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - test_server_only
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app may create a secret, or do what cannot be undone, on a test server only.
                description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
        '409':
          description: 'The server or the account already holds two live keys: one in use and one to rotate to. Revoke one before creating another.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - token_limit
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                  max:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    description: Live keys the owner may hold at once.
                required:
                - error
                - message
                - max
                additionalProperties: false
                description: 'The server or the account already holds two live keys: one in use and one to rotate to. Revoke one before creating another.'
              example:
                error: token_limit
                message: The server may hold at most 2 live keys; revoke one before creating another.
                max: 2
      operationId: postV1Tokens
      x-operation-id-source: derived
    get:
      summary: List the keys
      tags:
      - Keys
      description: Every key of the server, revoked ones included.
      security:
      - bearer: []
      responses:
        '200':
          description: Every key of the server, revoked ones included.
          content:
            application/json:
              schema:
                type: object
                properties:
                  tokens:
                    type: array
                    items:
                      type: object
                      properties:
                        tokenId:
                          type: string
                          format: uuid
                          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        name:
                          type: string
                          description: The name given at creation, for people to tell keys apart.
                        prefix:
                          type: string
                          description: The first characters of the key, to match it with a value in hand.
                        createdAt:
                          type: string
                          format: date-time
                          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                        revokedAt:
                          anyOf:
                          - type: string
                            format: date-time
                            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: 'null'
                      required:
                      - tokenId
                      - name
                      - prefix
                      - createdAt
                      - revokedAt
                      additionalProperties: false
                      description: A key of this server; the value itself is shown only when it is created.
                required:
                - tokens
                additionalProperties: false
                description: Every key of the server, revoked ones included.
              examples:
                example:
                  summary: One key
                  value:
                    tokens:
                    - tokenId: 3b0c9e2f-6d4a-4e8b-8a1c-9f2d7e6c5b40
                      name: Invoicing system
                      prefix: sk_a1b2c3d4e5
                      createdAt: '2026-09-15T12:00:00.000Z'
                      revokedAt: null
        '401':
          description: The key is missing, malformed or revoked.
          headers:
            WWW-Authenticate:
              schema:
                type: string
                enum:
                - Bearer
              description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - unauthorized
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: The key is missing, malformed or revoked.
        '403':
          description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - wrong_token_kind
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - not_for_connections
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app called an operation that no tool of the MCP server calls. An API key can.
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - read_only_connection
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - test_server_only
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app may create a secret, or do what cannot be undone, on a test server only.
                description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
      operationId: getV1Tokens
      x-operation-id-source: derived
    servers:
    - url: https://api.sendora.se
  /v1/tokens/{id}:
    get:
      summary: Read a key
      tags:
      - Keys
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
        description: The key id.
      security:
      - bearer: []
      responses:
        '200':
          description: A key of this server; the value itself is shown only when it is created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  tokenId:
                    type: string
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  name:
                    type: string
                    description: The name given at creation, for people to tell keys apart.
                  prefix:
                    type: string
                    description: The first characters of the key, to match it with a value in hand.
                  createdAt:
                    type: string
                    format: date-time
                    pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  revokedAt:
                    anyOf:
                    - type: string
                      format: date-time
                      pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                    - type: 'null'
                required:
                - tokenId
                - name
                - prefix
                - createdAt
                - revokedAt
                additionalProperties: false
                description: A key of this server; the value itself is shown only when it is created.
              examples:
                example:
                  summary: A key
                  value:
                    tokenId: 3b0c9e2f-6d4a-4e8b-8a1c-9f2d7e6c5b40
                    name: Invoicing system
                    prefix: sk_a1b2c3d4e5
                    createdAt: '2026-09-15T12:00:00.000Z'
                    revokedAt: null
        '401':
          description: The key is missing, malformed or revoked.
          headers:
            WWW-Authenticate:
              schema:
                type: string
                enum:
                - Bearer
              description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - unauthorized
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: The key is missing, malformed or revoked.
        '403':
          description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - wrong_token_kind
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - not_for_connections
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app called an operation that no tool of the MCP server calls. An API key can.
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - read_only_connection
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - test_server_only
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app may create a secret, or do what cannot be undone, on a test server only.
                description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
        '404':
          description: No such key of this server.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - not_found
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: No such key of this server.
      operationId: getV1TokensById
      x-operation-id-source: derived
    delete:
      summary: Revoke a key
      tags:
      - Keys
      description: The key stops working at once. The last live key of a server cannot be revoked, so a server is never locked out; revoking a key that is already revoked is fine.
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
        description: The key id.
      security:
      - bearer: []
      responses:
        '204':
          description: Removed. The body is empty.
        '401':
          description: The key is missing, malformed or revoked.
          headers:
            WWW-Authenticate:
              schema:
                type: string
                enum:
                - Bearer
              description: 'Always Bearer: send the key as Authorization: Bearer <key>.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - unauthorized
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: The key is missing, malformed or revoked.
        '403':
          description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - wrong_token_kind
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - not_for_connections
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app called an operation that no tool of the MCP server calls. An API key can.
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - read_only_connection
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: 'A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting.'
                - type: object
                  properties:
                    error:
                      type: string
                      enum:
                      - test_server_only
                    message:
                      type: string
                      description: What went wrong, for a person to read.
                  required:
                  - error
                  - message
                  additionalProperties: false
                  description: A connected app may create a secret, or do what cannot be undone, on a test server only.
                description: 'The key is of the other kind, or a connected app may not do this here: it is not for connections, the connection may only read here, or it is for test servers only.'
        '404':
          description: No such key of this server.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - not_found
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: No such key of this server.
        '409':
          description: This is the only live key of the server; create another before revoking it.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    enum:
                    - last_token
                  message:
                    type: string
                    description: What went wrong, for a person to read.
                required:
                - error
                - message
                additionalProperties: false
                description: This is the only live key of the server; create another before revoking it.
      operationId: deleteV1TokensById
      x-operation-id-source: derived
    servers:
    - url: https://api.sendora.se
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'A server key (sk_…): created with its server, in the dashboard, under /v1/servers/{id}/tokens with an account key, or under /v1/tokens with a key of the same server.'
    accountToken:
      type: http
      scheme: bearer
      description: An account key (ak_…), created by an administrator in the dashboard under Account › Account keys; it manages the account’s servers, their keys, its sending and tracking domains, erases a person’s data, and never sends.
x-refined-from:
- openapi.json
- sendora-se-openapi.json