AppDirect API Keys API

Create and manage API keys

Operations 1

POST /api/v1/api-keys Create an API 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/appdirect-api-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

appdirect-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Companies API allows developers to manage marketplace companies and their user memberships.
  title: Companies AI Embed API Keys API
  license:
    name: Apache License, Version 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
  version: v296.0-SNAPSHOT
servers:
- url: https://marketplace.appdirect.com/api
- url: https://virtserver.swaggerhub.com
tags:
- name: API Keys
  description: Create and manage API keys
paths:
  /api/v1/api-keys:
    post:
      tags:
      - API Keys
      summary: Create an API key
      description: Creates a new API key for the caller or a specified user and organization (based on access level).
      operationId: createApiKey
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequestDto'
      responses:
        '201':
          description: API key successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyWithTokenDto'
        '400':
          description: Bad request - invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - missing or invalid authentication.
        '403':
          description: Forbidden - user lacks permission to create API keys or scopes.
        '500':
          description: Internal Server Error.
      security:
      - ApiKeyAuth: []
components:
  schemas:
    CreateApiKeyRequestDto:
      type: object
      required:
      - name
      - scopes
      properties:
        name:
          type: string
          description: Name of the API key.
        scopes:
          type: array
          items:
            type: string
          minItems: 1
          description: Scopes to grant to the API key.
        orgId:
          type: string
          description: Optional organization ID to create the API key in. Defaults to the caller's organization. Tenant-scoped callers may use this to create keys for users in another organization within the same tenant.
        userId:
          type: string
          description: Optional user ID to create the API key for. Defaults to the caller.
    ApiKeyWithTokenDto:
      allOf:
      - $ref: '#/components/schemas/ApiKeyDto'
      - type: object
        properties:
          key:
            type: string
            description: The plain API key token. Only returned at creation time.
    Error:
      type: object
      properties:
        error:
          type: string
    ApiKeyDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the API key.
        createdAt:
          type: string
          format: date-time
          description: The date and time when the API key was created.
        updatedAt:
          type: string
          format: date-time
          description: The date and time when the API key was last updated.
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
          description: The date and time when the API key was last used.
        orgId:
          type: string
          description: Organization ID associated with the API key.
        userId:
          type: string
          description: User ID associated with the API key.
        userEmail:
          type:
          - string
          - 'null'
          description: Email of the user associated with the API key.
        name:
          type: string
          description: Name of the API key.
        scopes:
          type: array
          items:
            type: string
          description: Scopes granted to the API key.