Appy API keys API

Create, list and revoke secret keys. Only a signed-in dashboard session can manage keys.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/api-keys List API keys #
POST /v1/api-keys Create an API key #
DELETE /v1/api-keys/{keyId} Revoke 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/appy-to:appy-to-api-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

appy-to-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Appy API keys API
  version: 1.0.0
  summary: Create and manage smart links, read click statistics, connect AI assistants over MCP, and power the Appy mobile SDKs.
  contact:
    name: Appy support
    url: https://appy.to/support
    email: contact@appy.to
  description: 'The Appy API has two audiences. **Your servers** use it to create and manage smart links, read their statistics and register the

    mobile apps that use the Appy SDK. Everything the dashboard does with links, you can do from a CI

    pipeline, a CMS hook or an internal tool. **Your AI assistants** get the same abilities through the Appy MCP server at `https://mcp.appy.to`:

    Claude, Cursor, VS Code, Windsurf and other MCP clients can create and edit links and read their

    statistics with a secret key. **Your mobile apps** talk to the two `/v1/sdk` endpoints through the Appy iOS and Android SDKs. You normally never call those endpoints yourself; they are documented so you can audit exactly

    what the SDKs send. ## Quick start


    ```bash

    curl https://api.appy.to/v1/links \

    -H "Authorization: Bearer appy_sk_..." \

    -H "Content-Type: application/json" \

    -d ''{

    "slug": "spring-sale",

    "fallbackUrl": "https://acme.com/spring",

    "deeplinkUrl": "acme://sale/spring",

    "targets": {

    "iphone": "https://apps.apple.com/app/id123456789",

    "android": "https://play.google.com/store/apps/details?id=com.acme.shop"

    }

    }''

    ```


    The response contains the short link (`https://appy.to/spring-sale`). iPhones go to the App Store

    target, Android phones to Google Play, everything else to `fallbackUrl`. When `deeplinkUrl` is set,

    phones first try to open the app and fall back to the store if it is not installed. ## Authentication


    Every request carries one credential in the `Authorization` header:


    ```

    Authorization: Bearer

    ```


    | Credential | Looks like | Use it for | Where it lives |

    |---|---|---|---|

    | Secret key | `appy_sk_` + 40 characters | Links, statistics, apps | Your servers only. Never ship it in an app or a web page. |

    | Publishable key | `appy_pk_` + 32 characters | `/v1/sdk/*` only | Inside your mobile app. It is public by design. |

    | Dashboard session | a JWT, or the `accessToken` cookie | Everything except `/v1/sdk/*`; the only credential that can create or revoke secret keys | Your signed-in Appy session. |


    Create a secret key in the dashboard (API keys page) or with `POST /v1/api-keys` while signed in to

    Appy. Secret keys, the `/v1` link and statistics endpoints and the MCP server need the Business or

    Enterprise plan; every plan can list and revoke its keys. The full key is returned

    exactly once; Appy stores only a SHA-256 hash of it. An account can hold 10 active keys. A publishable

    key is issued automatically when you register an app with `POST /v1/apps`. A secret key acts on behalf of the account that created it and inherits that account''s plan: the same

    link limits and feature rules apply to the API as to the dashboard. ## Errors


    Errors use conventional HTTP status codes and always have the same body:


    ```json

    {

    "error": {

    "code": "validation_failed",

    "message": "fallbackUrl must be a valid http(s) URL",

    "requestId": "4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11"

    }

    }

    ```


    | Status | `code` | Meaning |

    |---|---|---|

    | 400 | `invalid_request` | The body is not valid JSON, has the wrong shape, or contains an unknown field. |

    | 400 | `validation_failed` | The JSON is well formed but a value is not acceptable. `message` names the field. |

    | 401 | `unauthorized` | Missing, malformed, unknown or revoked credential. |

    | 403 | `forbidden` | The credential is valid but not allowed on this endpoint (for example a publishable key on `/v1/links`). |

    | 403 | `plan_required` | The feature needs a higher plan. |

    | 403 | `limit_reached` | A plan or account limit is exhausted (links, API keys, apps, custom domains). |

    | 404 | `not_found` | The resource does not exist or belongs to another account. |

    | 409 | `conflict` | The slug, subdomain or custom domain hostname is already taken. |

    | 429 | `rate_limited` | Too many requests. Wait for the `Retry-After` seconds. |

    | 500 | `internal_error` | Something failed on Appy''s side. Retrying is safe for reads. |

    | 503 | `service_unavailable` | A dependency is temporarily down. Retry with backoff.'
  x-logo:
    url: https://appy.to/assets/appylogo.svg
    altText: Appy
servers:
- url: https://api.appy.to
  description: Production
security:
- secretKey: []
- dashboardSession: []
tags:
- name: API Keys
  description: Create, list and revoke secret keys. Only a signed-in dashboard session can manage keys.
paths:
  /v1/api-keys:
    get:
      tags:
      - API Keys
      operationId: listApiKeys
      summary: List API keys
      security:
      - dashboardSession: []
      - sessionCookie: []
      responses:
        '200':
          description: Active keys. The secret part is never returned again.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKey'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - API Keys
      operationId: createApiKey
      summary: Create an API key
      description: The response is the only time the full key is shown. Store it in your secret manager.
      security:
      - dashboardSession: []
      - sessionCookie: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              additionalProperties: false
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 64
                  description: A label that tells you where the key is used.
                  example: CI pipeline
      responses:
        '201':
          description: The key. Copy `key` now.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyCreated'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/PlanOrLimit'
  /v1/api-keys/{keyId}:
    delete:
      tags:
      - API Keys
      operationId: revokeApiKey
      summary: Revoke an API key
      description: The key stops working immediately.
      security:
      - dashboardSession: []
      - sessionCookie: []
      parameters:
      - name: keyId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: The key was revoked.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Forbidden:
      description: The credential cannot be used on this endpoint.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: API keys can only be created and revoked from a signed-in dashboard session.
              requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
    NotFound:
      description: The resource does not exist or belongs to another account.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: not_found
              message: Link not found.
              requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
    Unauthorized:
      description: Missing, invalid or revoked credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or revoked API key.
              requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
    PlanOrLimit:
      description: The plan does not include the feature, a limit is reached, or the credential is not allowed here.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            planRequired:
              value:
                error:
                  code: plan_required
                  message: The SDK, deferred deep linking and install attribution are available on the Enterprise plan.
                  requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
            limitReached:
              value:
                error:
                  code: limit_reached
                  message: Link limit reached for your plan. Delete unused links or upgrade.
                  requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
    BadRequest:
      description: The request is malformed or a value failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalidRequest:
              value:
                error:
                  code: invalid_request
                  message: Unknown field "titel".
                  requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
            validation:
              value:
                error:
                  code: validation_failed
                  message: fallbackUrl must be a valid http(s) URL
                  requestId: 4b6f1c2e-7c1a-4bd6-9f36-2f1f0f7b8c11
  schemas:
    ApiKeyCreated:
      allOf:
      - $ref: '#/components/schemas/ApiKey'
      - type: object
        required:
        - key
        properties:
          key:
            type: string
            description: The full secret key. Shown only in this response.
            example: appy_sk_7Qx2kLm9RtV4bN8cW1zY5hJ3pF6dS0gA2eU7iO4q
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - requestId
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - validation_failed
              - unauthorized
              - forbidden
              - plan_required
              - limit_reached
              - not_found
              - conflict
              - rate_limited
              - internal_error
              - service_unavailable
            message:
              type: string
              description: Human-readable explanation. Do not parse it; branch on `code`.
            requestId:
              type: string
              description: Identifier of the request, also sent as `X-Request-ID`.
    ApiKey:
      type: object
      required:
      - id
      - name
      - prefix
      - createdAt
      - lastUsedAt
      - revokedAt
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        prefix:
          type: string
          description: First characters of the key so you can recognise it.
          example: appy_sk_7Qx2
        createdAt:
          type: string
          format: date-time
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
          description: Updated at most once a minute.
        revokedAt:
          type:
          - string
          - 'null'
          format: date-time
  securitySchemes:
    secretKey:
      type: http
      scheme: bearer
      bearerFormat: appy_sk_…
      description: Secret API key for server-to-server calls.
    publishableKey:
      type: http
      scheme: bearer
      bearerFormat: appy_pk_…
      description: Publishable app key, used by the mobile SDKs on `/v1/sdk` endpoints only.
    dashboardSession:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token of a signed-in Appy session.
    sessionCookie:
      type: apiKey
      in: cookie
      name: accessToken
      description: The session cookie set by appy.to. Browsers on appy.to send it automatically.
x-tagGroups:
- name: Server API
  tags:
  - Account
  - Links
  - Domains
  - Statistics
  - Apps
  - Attribution
  - Postbacks
  - API keys
- name: Client API
  tags:
  - Client API
x-provenance:
  method: harvested
  publisher: Appy
  source: https://api.appy.to/v1/openapi.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)