ConfigDirector API tokens API

The API tokens API from ConfigDirector — 1 operation(s) for api tokens.

GitHub OpenAPI

Operations 1

GET /api-token Get the calling API token #

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/configdirector-com:configdirector-com-api-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

configdirector-com-api-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Configdirector Com API tokens API
  version: 1.0.0
  description: 'Operations tagged API tokens across 2 of this provider''s published API definitions: configdirector-com-admin-api-openapi.json, configdirector-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.configdirector.com/v1
security:
- bearerAuth: []
tags:
- name: API Tokens
paths:
  /api-token:
    get:
      operationId: getApiToken
      tags:
      - API Tokens
      summary: Get the calling API token
      description: 'The API token that sends the request: its name, its organization''s id and name, its permissions and its expiration, so a client can tell which organization a token belongs to and what it can do. Any valid API token can read it, with or without permissions.'
      responses:
        '200':
          description: The API token that sent the request. `permissions` lists what the token can do now, in alphabetical order. A permission chosen for the token that its creator's member role no longer grants is left out. `expiresAt` is `null` for a token that never expires.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                  organization:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                    required:
                    - id
                    - name
                  permissions:
                    type: array
                    items:
                      enum:
                      - client-sdk-keys:read
                      - client-sdk-keys:create
                      - client-sdk-keys:delete
                      - code-references:read
                      - code-references:update
                      - configs:read
                      - configs:create
                      - configs:archive
                      - config-archives:read
                      - config-archives:restore
                      - config-settings:update
                      - config-targeting-rules:update
                      - contexts:read
                      - contexts:delete
                      - environments:read
                      - environments:create
                      - environments:update
                      - environments:delete
                      - projects:read
                      - projects:create
                      - projects:update
                      - projects:delete
                      - tags:read
                      - tags:create
                      - tags:update
                      - tags:delete
                      - segments:read
                      - segments:create
                      - segments:update
                      - segments:delete
                      - server-sdk-keys:read
                      - server-sdk-keys:create
                      - server-sdk-keys:delete
                      - webhooks:manage
                      type: string
                  expiresAt:
                    anyOf:
                    - type: string
                    - type: 'null'
                required:
                - name
                - organization
                - permissions
                - expiresAt
        '403':
          description: 'The request was not authenticated. The body says why: `code` is one of `AUTHORIZATION_HEADER_MISSING`, `AUTHORIZATION_HEADER_INVALID`, `API_TOKEN_NOT_FOUND`, `API_TOKEN_EXPIRED`, `API_TOKEN_OWNER_REMOVED`.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    enum:
                    - AUTHORIZATION_HEADER_MISSING
                    - AUTHORIZATION_HEADER_INVALID
                    - API_TOKEN_NOT_FOUND
                    - API_TOKEN_EXPIRED
                    - API_TOKEN_OWNER_REMOVED
                    type: string
                required:
                - error
                - code
        '404':
          description: The API token was deleted while this request was being answered.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    enum:
                    - API_TOKEN_NOT_FOUND
                    type: string
                required:
                - error
                - code
    servers:
    - url: https://api.configdirector.com/v1
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- configdirector-com-admin-api-openapi.json
- configdirector-com-openapi.yml