RingKit Destinations API

The destinations API from RingKit, for destinations.

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 4

POST /v1/businesses/{id}/destinations/verify Call a number and read it a 6-digit code, to prove the business controls it #
POST /v1/businesses/{id}/destinations/confirm Confirm a number with the code its verification call read #
GET /v1/businesses/{id}/destinations Numbers the business proved it controls (allowed test-call targets) #
GET /v1/businesses/{id}/outbound-consents The audit trail of outbound calls RingKit placed for the business #

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-destinations-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-destinations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RingKit Destinations 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: Destinations
paths:
  /v1/businesses/{id}/destinations/verify:
    post:
      operationId: verifyDestination
      summary: Call a number and read it a 6-digit code, to prove the business controls it
      description: 'Call a number and read it a 6-digit code, to prove the business controls it.


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


        Stop and ask the human when: the call rings `number` and reads a 6-digit code twice (valid 10 minutes): ask the person who answered for the code, then send it with confirmDestination.


        Lifecycle step: Place a test call.'
      tags:
      - Destinations
      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: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: string
                  pattern: ^\+[1-9]\d{6,14}$
              required:
              - number
            example:
              number: '+14155550142'
      responses:
        '202':
          description: 'Accepted: the work is queued.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  queued:
                    type: boolean
                    const: true
                  expiresAt:
                    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)))$
                  consentId:
                    type: string
                    pattern: ^obc_[0-9a-z]{8,32}$
                required:
                - queued
                - expiresAt
                - consentId
                additionalProperties: false
              example:
                queued: true
                expiresAt: '2026-10-27T16:40:00.000Z'
                consentId: obc_b7d1f5h9k3m6p0s4
          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. `already_verified`. `number_required`: Provision a number first: GET /v1/numbers/search, then POST /v1/businesses/:id/numbers. `test_call_limit`: The 24-hour outbound call limit for this business or number was reached; try again after it rolls over.'
          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'
        '503':
          description: '`telephony_unavailable`: No telephony host is connected right now; retry in a minute.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        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: Place a test call
  /v1/businesses/{id}/destinations/confirm:
    post:
      operationId: confirmDestination
      summary: Confirm a number with the code its verification call read
      description: 'Confirm a number with the code its verification call read.


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


        Stop and ask the human when: you need the 6-digit code the verification call read; only the person who answered that call has it.


        Lifecycle step: Place a test call.'
      tags:
      - Destinations
      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: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: string
                  pattern: ^\+[1-9]\d{6,14}$
                code:
                  type: string
                  pattern: ^\d{6}$
              required:
              - number
              - code
            example:
              number: '+14155550142'
              code: '481516'
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  number:
                    type: string
                    pattern: ^\+[1-9]\d{6,14}$
                  verifiedAt:
                    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)))$
                  method:
                    type: string
                    enum:
                    - voice_otp
                required:
                - number
                - verifiedAt
                - method
                additionalProperties: false
              example:
                number: '+14155550142'
                verifiedAt: '2026-10-27T16:32:10.000Z'
                method: voice_otp
          headers:
            Idempotent-Replayed:
              $ref: '#/components/headers/IdempotentReplayed'
        '400':
          description: '`validation_error`: the body, query or path failed the schema; `details` lists the issues. `invalid_code`: Send the 6-digit code the verification call read, exactly.'
          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. `challenge_superseded`: A newer verification call replaced this code; use the code from the latest call.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '410':
          description: '`code_expired`: Request a new code: POST /v1/businesses/:id/destinations/verify.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: '`too_many_attempts`: Request a new code: POST /v1/businesses/:id/destinations/verify. `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: Place a test call
  /v1/businesses/{id}/destinations:
    get:
      operationId: listDestinations
      summary: Numbers the business proved it controls (allowed test-call targets)
      description: 'Numbers the business proved it controls (allowed test-call targets).


        Owner only (API keys act as owner; a member session gets 403 owner_required).'
      tags:
      - Destinations
      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:
                  destinations:
                    type: array
                    items:
                      type: object
                      properties:
                        number:
                          type: string
                          pattern: ^\+[1-9]\d{6,14}$
                        verifiedAt:
                          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)))$
                        method:
                          type: string
                          enum:
                          - voice_otp
                      required:
                      - number
                      - verifiedAt
                      - method
                      additionalProperties: false
                required:
                - destinations
                additionalProperties: false
        '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
  /v1/businesses/{id}/outbound-consents:
    get:
      operationId: listOutboundConsents
      summary: The audit trail of outbound calls RingKit placed for the business
      description: 'The audit trail of outbound calls RingKit placed for the business.


        Owner only (API keys act as owner; a member session gets 403 owner_required).'
      tags:
      - Destinations
      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:
                  consents:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          pattern: ^obc_[0-9a-z]{8,32}$
                        businessId:
                          type: string
                          pattern: ^biz_[0-9a-z]{8,32}$
                        number:
                          type: string
                          pattern: ^\+[1-9]\d{6,14}$
                        purpose:
                          type: string
                          enum:
                          - test_call
                          - callback
                          - verify
                          - forward_check
                        basis:
                          type: string
                          enum:
                          - configured_by_business
                          - verified_destination
                          - verification_request
                          - forwarding_check
                        createdBy:
                          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)))$
                        commandId:
                          type: string
                        consumedAt:
                          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
                      - businessId
                      - number
                      - purpose
                      - basis
                      - createdBy
                      - createdAt
                      additionalProperties: false
                required:
                - consents
                additionalProperties: false
        '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
components:
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 0
    IdempotentReplayed:
      description: '`true` when this response is a stored replay of an earlier request with the same Idempotency-Key.'
      schema:
        type: string
        enum:
        - 'true'
  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
  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
  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).'