RingKit API Keys API

The api-keys API from RingKit, for api-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/businesses/{id}/api-keys List the business's API keys (prefix, scope, last use, revoked or not); never… #
POST /v1/businesses/{id}/api-keys Create an API key with scope manage (acts as owner) or read (GET only); the… #
DELETE /v1/businesses/{id}/api-keys/{keyId} Revoke an API key; it stops authenticating at once #

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/ringkit-com:ringkit-com-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

ringkit-com-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RingKit API Keys API
  version: 0.0.1
  description: 'RingKit is a pay-per-minute AI phone receptionist for small businesses, set up entirely by REST or MCP: create a business (no auth, returns an API key once), teach it the business, pick a voice and routing, get a phone number, try it in text, fund the prepaid wallet, place a test call, then hand it to the human owner.


    Lifecycle: 1. Create the business; 2. Teach it the business; 3. Pick a voice; 4. Decide who answers; 5. Try it in text; 6. Fund the wallet; 7. Get a phone number; 8. Place a test call; 9. Watch the calls; 10. Get told about calls; 11. Manage API keys; 12. Hand it to the owner.


    Agent guides: https://api.ringkit.com/llms.txt (short), https://api.ringkit.com/llms-full.txt (full walk-through with curl), MCP server card https://api.ringkit.com/.well-known/mcp.json, human docs https://ringkit.com/docs.html. Errors: https://ringkit.com/docs.html#errors.


    Every POST accepts `Idempotency-Key` (24 h replay; replays carry `Idempotent-Replayed: true`). Errors are `{error: {code, message, hint?, docs, details?}}`; `hint` is the next step to take.'
servers:
- url: https://api.ringkit.com
security:
- apiKey: []
tags:
- name: API Keys
paths:
  /v1/businesses/{id}/api-keys:
    get:
      operationId: listApiKeys
      summary: List the business's API keys (prefix, scope, last use, revoked or not); never…
      description: 'List the business''s API keys (prefix, scope, last use, revoked or not); never the plaintext.


        Owner only (API keys act as owner; a member session gets 403 owner_required).


        Lifecycle step: Manage API keys.'
      tags:
      - API Keys
      parameters:
      - name: id
        in: path
        required: true
        description: The business id (`biz_…`), as returned by POST /v1/businesses or GET /v1/me.
        schema:
          type: string
          pattern: ^biz_[0-9a-z]{8,32}$
        example: biz_7k2m9q4x8w3n5p1r
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKeyInfo'
                required:
                - keys
                additionalProperties: false
              example:
                keys:
                - id: key_m3p7r1t5v9x2z6b4
                  name: Setup agent
                  scope: manage
                  prefix: rk_live_3f9a
                  createdAt: '2026-10-27T16:02:11.000Z'
                  lastUsedAt: '2026-10-27T18:45:00.000Z'
                - id: key_q8s2u6w0y4a7c1e5
                  name: Reporting
                  scope: read
                  prefix: rk_live_9b2e
                  createdAt: '2026-10-27T18:50:00.000Z'
        '401':
          description: '`unauthorized`: missing, invalid or revoked credential.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: '`owner_required`: a member session can''t call this (API keys act as owner); `insufficient_scope`: a read-scope key; `forbidden`: the credential belongs to another business.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: '`not_found`: no such resource (check the id).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: '`rate_limited`: over the per-key (or per-route) limit; wait Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
        5XX:
          description: '`internal` or a `*_unavailable` code: retry later.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-audience: agent
      x-owner-only: true
      x-lifecycle-step: Manage API keys
    post:
      operationId: createApiKey
      summary: Create an API key with scope manage (acts as owner) or read (GET only); the…
      description: 'Create an API key with scope manage (acts as owner) or read (GET only); the plaintext is returned once.


        Owner only (API keys act as owner; a member session gets 403 owner_required).


        Lifecycle step: Manage API keys.'
      tags:
      - API Keys
      parameters:
      - name: id
        in: path
        required: true
        description: The business id (`biz_…`), as returned by POST /v1/businesses or GET /v1/me.
        schema:
          type: string
          pattern: ^biz_[0-9a-z]{8,32}$
        example: biz_7k2m9q4x8w3n5p1r
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  default: API key
                  type: string
                  minLength: 1
                  maxLength: 60
                scope:
                  default: manage
                  type: string
                  enum:
                  - manage
                  - read
            example:
              name: Reporting
              scope: read
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    $ref: '#/components/schemas/ApiKeyInfo'
                  apiKey:
                    type: string
                required:
                - key
                - apiKey
                additionalProperties: false
              example:
                key:
                  id: key_q8s2u6w0y4a7c1e5
                  name: Reporting
                  scope: read
                  prefix: rk_live_9b2e
                  createdAt: '2026-10-27T18:50:00.000Z'
                apiKey: REDACTED_STRIPE_KEY
          headers:
            Idempotent-Replayed:
              $ref: '#/components/headers/IdempotentReplayed'
        '400':
          description: '`validation_error`: the body, query or path failed the schema; `details` lists the issues.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: '`unauthorized`: missing, invalid or revoked credential.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: '`owner_required`: a member session can''t call this (API keys act as owner); `insufficient_scope`: a read-scope key; `forbidden`: the credential belongs to another business.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: '`not_found`: no such resource (check the id).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: '`idempotency_in_progress` / `lost_claim`: another request with this Idempotency-Key is running or won; retry with the same key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: '`rate_limited`: over the per-key (or per-route) limit; wait Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
        5XX:
          description: '`internal` or a `*_unavailable` code: retry later.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-audience: agent
      x-owner-only: true
      x-lifecycle-step: Manage API keys
  /v1/businesses/{id}/api-keys/{keyId}:
    delete:
      operationId: revokeApiKey
      summary: Revoke an API key; it stops authenticating at once
      description: 'Revoke an API key; it stops authenticating at once.


        Owner only (API keys act as owner; a member session gets 403 owner_required).


        Lifecycle step: Manage API keys.'
      tags:
      - API Keys
      parameters:
      - name: id
        in: path
        required: true
        description: The business id (`biz_…`), as returned by POST /v1/businesses or GET /v1/me.
        schema:
          type: string
          pattern: ^biz_[0-9a-z]{8,32}$
        example: biz_7k2m9q4x8w3n5p1r
      - name: keyId
        in: path
        required: true
        description: An API key id (`key_…`) from listApiKeys.
        schema:
          type: string
          pattern: ^key_[0-9a-z]{8,32}$
        example: key_q8s2u6w0y4a7c1e5
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    const: true
                required:
                - ok
                additionalProperties: false
              example:
                ok: true
        '401':
          description: '`unauthorized`: missing, invalid or revoked credential.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: '`owner_required`: a member session can''t call this (API keys act as owner); `insufficient_scope`: a read-scope key; `forbidden`: the credential belongs to another business.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: '`not_found`: no such resource (check the id).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: '`rate_limited`: over the per-key (or per-route) limit; wait Retry-After seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
        5XX:
          description: '`internal` or a `*_unavailable` code: retry later.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      x-audience: agent
      x-owner-only: true
      x-lifecycle-step: Manage API keys
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: 'Any unique string (≤ 255 chars). A retry with the same key within 24 h returns the stored response with `Idempotent-Replayed: true` instead of running again.'
      schema:
        type: string
        maxLength: 255
  headers:
    IdempotentReplayed:
      description: '`true` when this response is a stored replay of an earlier request with the same Idempotency-Key.'
      schema:
        type: string
        enum:
        - 'true'
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 0
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            hint:
              type: string
            docs:
              type: string
            details: {}
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
    ApiKeyInfo:
      type: object
      properties:
        id:
          type: string
          pattern: ^key_[0-9a-z]{8,32}$
        name:
          type: string
        scope:
          type: string
          enum:
          - manage
          - read
        prefix:
          type: string
        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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        lastUsedAt:
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
        revokedAt:
          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|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
      required:
      - id
      - name
      - scope
      - prefix
      - createdAt
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: rk_live_…
      description: 'The business API key, returned once by POST /v1/businesses (and by POST /v1/businesses/{id}/api-keys). Scopes: `manage` (default; acts as owner) and `read` (GET only: any other method is 403 insufficient_scope). The dashboard''s `rk_session` cookie is accepted on the same routes.'
    businessSession:
      type: apiKey
      in: cookie
      name: rk_session
      description: Dashboard session (set by consumeMagicLink).
    blogPublishToken:
      type: http
      scheme: bearer
      description: Operator-only blog publishing token (BLOG_PUBLISH_TOKEN on the server). Only the Blog (operator) routes accept it.
    agentSession:
      type: apiKey
      in: cookie
      name: rk_agent_session
      description: 'Human-agent console session (outside production, `Authorization: Bearer agent:<id>` also works).'