Orbit Tokens API

API token CRUD

GitHub OpenAPI

Operations 5

GET /api/v1/tokens List the caller's API tokens #
POST /api/v1/tokens Create a new API token #
GET /api/v1/tokens/{id} Get token metadata #
DELETE /api/v1/tokens/{id} Revoke a token #
PATCH /api/v1/tokens/{id} Update a token (name only for now) #

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/orbitapps-io:orbitapps-io-tokens-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

orbitapps-io-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Orbit Apps Tokens API
  version: 1.0.0
  description: Public REST API for Orbit Apps.
servers:
- url: https://api.orbitapps.io
  description: Production
security:
- bearerAuth: []
tags:
- name: Tokens
  description: API token CRUD
paths:
  /api/v1/tokens:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        scopes:
                          oneOf:
                          - type: array
                            items: {}
                          - type: 'null'
                        revoked_at:
                          oneOf:
                          - type: string
                          - type: 'null'
                        expires_at:
                          oneOf:
                          - type: string
                          - type: 'null'
                        name:
                          type: string
                        org_id:
                          oneOf:
                          - type: string
                            format: uuid
                          - type: 'null'
                        last_used_at:
                          oneOf:
                          - type: string
                          - type: 'null'
                        scope:
                          type: string
                        member_id:
                          oneOf:
                          - type: string
                            format: uuid
                          - type: 'null'
                        prefix:
                          type: string
                        updated_at:
                          type: string
                        id:
                          type: string
                          format: uuid
                        kind:
                          type: string
                        profile_id:
                          oneOf:
                          - type: string
                            format: uuid
                          - type: 'null'
                        created_at:
                          type: string
                      required:
                      - id
                      - name
                      - prefix
                      - kind
                      - scope
                      - scopes
                      - created_at
                      - updated_at
                      additionalProperties: false
                required:
                - data
                additionalProperties: false
      tags:
      - Tokens
      summary: List the caller's API tokens
      description: Returns all tokens owned by the caller. Profile-scoped tokens see their own personal tokens; org-scoped tokens see the org's tokens.
      operationId: getApiV1Tokens
      x-operation-id-source: derived
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  allOf:
                  - type: string
                  - {}
                kind:
                  type: string
                  enum:
                  - live
                  - test
                expires_at:
                  description: RFC 3339 instant in the future, e.g. 2027-01-01T00:00:00Z.
                  oneOf:
                  - allOf:
                    - type: string
                    - {}
                  - type: 'null'
              required:
              - name
              additionalProperties: false
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                properties:
                  scopes:
                    oneOf:
                    - type: array
                      items: {}
                    - type: 'null'
                  revoked_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  expires_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  name:
                    type: string
                  org_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  last_used_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  scope:
                    type: string
                  member_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  prefix:
                    type: string
                  updated_at:
                    type: string
                  token:
                    type: string
                  id:
                    type: string
                    format: uuid
                  kind:
                    type: string
                  profile_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  created_at:
                    type: string
                required:
                - id
                - name
                - prefix
                - kind
                - scope
                - scopes
                - created_at
                - updated_at
                - token
                additionalProperties: false
      tags:
      - Tokens
      summary: Create a new API token
      description: Mints a fresh token. The full plaintext is returned exactly once — store it immediately. The token's scope is inherited from the caller's identity.
      operationId: postApiV1Tokens
      x-operation-id-source: derived
  /api/v1/tokens/{id}:
    get:
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  scopes:
                    oneOf:
                    - type: array
                      items: {}
                    - type: 'null'
                  revoked_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  expires_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  name:
                    type: string
                  org_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  last_used_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  scope:
                    type: string
                  member_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  prefix:
                    type: string
                  updated_at:
                    type: string
                  id:
                    type: string
                    format: uuid
                  kind:
                    type: string
                  profile_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  created_at:
                    type: string
                required:
                - id
                - name
                - prefix
                - kind
                - scope
                - scopes
                - created_at
                - updated_at
                additionalProperties: false
        '404':
          content:
            application/json:
              schema:
                type: object
                properties: {}
                additionalProperties: false
      tags:
      - Tokens
      summary: Get token metadata
      description: Returns the token's metadata. Never returns the plaintext — that's only visible at create time.
      operationId: getApiV1TokensById
      x-operation-id-source: derived
    delete:
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204': {}
        '404':
          content:
            application/json:
              schema:
                type: object
                properties: {}
                additionalProperties: false
      tags:
      - Tokens
      summary: Revoke a token
      description: 'Soft-delete: sets revoked-at. The token immediately stops authenticating but the row stays for audit.'
      operationId: deleteApiV1TokensById
      x-operation-id-source: derived
    patch:
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  allOf:
                  - type: string
                  - {}
              additionalProperties: false
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  scopes:
                    oneOf:
                    - type: array
                      items: {}
                    - type: 'null'
                  revoked_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  expires_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  name:
                    type: string
                  org_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  last_used_at:
                    oneOf:
                    - type: string
                    - type: 'null'
                  scope:
                    type: string
                  member_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  prefix:
                    type: string
                  updated_at:
                    type: string
                  id:
                    type: string
                    format: uuid
                  kind:
                    type: string
                  profile_id:
                    oneOf:
                    - type: string
                      format: uuid
                    - type: 'null'
                  created_at:
                    type: string
                required:
                - id
                - name
                - prefix
                - kind
                - scope
                - scopes
                - created_at
                - updated_at
                additionalProperties: false
        '404':
          content:
            application/json:
              schema:
                type: object
                properties: {}
                additionalProperties: false
      tags:
      - Tokens
      summary: Update a token (name only for now)
      operationId: patchApiV1TokensById
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: 'An Orbit api token, sent as `Authorization: Bearer <token>`.


        Mint one with the RFC 8628 device-authorization grant (`POST /api/v1/device/code`, then poll `POST /api/v1/device/token`), or from Studio.


        Every token carries a scope set from the `[verb resource]` RBAC catalog — `read:app`, `write:deployment`, `manage:secret`, and so on. The full vocabulary is published as `scopes_supported` at `/.well-known/oauth-protected-resource` (RFC 9728) and `/.well-known/oauth-authorization-server` (RFC 8414). Grant an agent the narrowest set that does its job.'
externalDocs:
  description: Full documentation
  url: https://docs.orbitapps.io
x-id:
- reitit.openapi/default