Calls API
Public-API outbound call lifecycle (UUID-keyed).
- GET
/callsList scheduled/completed calls - POST
/callsSchedule an outbound call - GET
/calls/{id}Get call status + result - DELETE
/calls/{id}Cancel a pending/queued call - POST
/calls/{id}/extractRe-run answer extraction for a completed call
GET /calls
List scheduled/completed calls
Auth: API key (Authorization: Bearer). Scope: calls:read.
Requires one of the following scopes: calls:read.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Default |
offset | query | integer | Number of items to skip. Default |
status | query | string | Return only calls with this status. One of: |
bot_id | query | string | |
from_date | query | string | |
to_date | query | string | |
sort_by | query | string | One of: |
sort_order | query | string | One of: |
Responses
200 Success
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.calls | array of object | |
data.calls[].call_id | string (uuid) | |
data.calls[].bot_id | string | |
data.calls[].destination_phone | string | |
data.calls[].contact_name | string | null | |
data.calls[].status | string | See the call detail for what each status means. One of: |
data.calls[].scheduled_time | string | |
data.calls[].created_at | string (date-time) | |
data.calls[].call_duration_seconds | integer | |
data.calls[].disposition | string | |
data.calls[].started_at | string (date-time) | |
data.calls[].completed_at | string (date-time) | |
data.calls[].no_ai_call | object | Present only when status is |
data.calls[].no_ai_call.reason | string required | Why no AI call was placed. One of: |
data.calls[].no_ai_call.line_type | string required | The line type the decision was made with. One of: |
data.calls[].no_ai_call.message | string required | A sentence for display. One fixed sentence per status, except reason |
data.pagination | object | Offset pagination block embedded in the data object (v1-style list). |
data.pagination.total | integer | |
data.pagination.limit | integer | |
data.pagination.offset | integer | |
data.pagination.has_more | boolean |
400 Invalid request (validation errors under error.details.validation_errors).
401 Missing or invalid API key.
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
403 Authenticated but not permitted (insufficient scope uses the auth envelope with code INSUFFICIENT_SCOPE; policy/plan denials use the router envelope).
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
429 Rate limit exceeded.
Headers: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Request-ID
POST /calls
Schedule an outbound call
Auth: API key (Authorization: Bearer). Scope: calls:schedule.
Queues an outbound voice call for a configured bot. Returns 202 with the call UUID. callback_url is required only when the API key has webhooks enabled; polling-mode keys may omit it and poll GET /calls/{id}.
Requires one of the following scopes: calls:schedule. DNC-listed destinations return 403.
Questions. Pass the call's question set as custom_data.questions (see CallQuestion). It is validated here rather than silently dropped at call time, so a malformed set returns 400 with one of invalid_questions_format, invalid_question_entry, or duplicate_question_key.
An agent whose Questions tab is set to API treats the call request as the only source of questions — it never falls back to a saved or packaged set. Scheduling one of its calls without questions therefore returns 400 questions_required rather than running a default script. A per-call custom_data.question_source (console | api) overrides the agent's setting for that call.
Errors: field validation failures return 422 validation_error with the messages under error.errors; the other refusals return 400 with a specific error.code. If the do-not-call check is unavailable the request returns 500 and no call is queued.
Idempotency: repeating an Idempotency-Key within 24 hours returns 200 with the existing job and meta.idempotent: true instead of 202.
When callback_url is sent without callback_secret the call is still accepted and meta.warnings explains that the callback will be unsigned.
Result callback. When the request carries a callback_url, the result is POSTed to it as JSON (CallCallbackPayload) with these headers:
X-Webhook-Signature:t=<unix seconds>,v1=<hex>, where<hex>is the HMAC-SHA256 of<t>.<raw request body>keyed with the call'scallback_secret. Taketfrom this header when you recompute it. The header is empty when the call was scheduled without acallback_secret.X-Webhook-Timestamp: unix seconds at send time.X-Call-ID: the call UUID.
Any 2xx within 30 seconds is a successful delivery; redirects are not followed. Anything else is retried, up to 5 attempts in all, with a delay that doubles from 30 seconds. This contract is separate from webhook subscriptions (/webhooks), which sign and deliver differently.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key | header | string | A repeat of the same key within 24 hours does not queue a second call. It returns 200 with the existing job (its current |
Request body application/json required
| Field | Type | Description |
|---|---|---|
bot_id | string required | |
destination_phone | string required | E.164, e.g. +14155551234. |
callback_url | string (uri) | Required only for webhook-enabled keys; forced null for polling-mode keys. |
callback_secret | string | Shared secret used to HMAC-sign the result callback. Supplied PER REQUEST — it is not stored on your account, so it must be sent on every call. If max length 256 |
campaign_id | integer | Optional; binds the call to a specific campaign. |
contact_name | string | |
custom_data | object | <=16KB serialized; becomes {{placeholders}}. Four keys are reserved and interpreted rather than substituted: |
custom_data.questions | array of object | The questions this call should ask, in order. Validated at schedule time. |
custom_data.questions[].key | string required | Stable identifier for the answer, unique within the set (case-insensitive). Answers are reported back under this key. The alias Example |
custom_data.questions[].text | string required | The question as the agent should ask it. The alias Example |
custom_data.questions[].type | string | Expected answer shape. Unrecognized values degrade to One of: |
custom_data.questions[].required | boolean | Whether the agent should press for an answer before moving on. Default |
custom_data.questions[].sort_order | integer | Explicit ordering. Omit to use the array order. |
custom_data.question_source | string | Per-call override of the agent's Questions tab. One of: |
custom_data.call_guidance | string | Free-text operator direction handed to the agent for this call only, on top of its configured prompt. Use it for call-specific framing ("this is a verification call, not a sales call"). It cannot change when the agent starts speaking: the opening line is delivered by the platform before the model runs, so instructions like "do not speak until they say hello" have no effect -- use max length 2000 · Example |
custom_data.screening_greeting | string | The single sentence the agent says when it reaches a call-screening service instead of a person. It then stops and waits silently for a human rather than delivering the full opener, so the real opener is not burned on a screener. Overrides the agent's configured screening response for this call. Truncated at 320 characters. This is the screening path only -- it is NOT used for voicemail: when carrier answering-machine detection reports a machine, the agent leaves the agent's configured voicemail message and hangs up, and screening detection is suppressed for the rest of that call. Because AMD wins when it fires, a call answered by a screener that AMD classifies as a machine will get the voicemail message, not this line. max length 320 · Example |
scheduled_time | string | |
time_zone | string | Default |
answering_machine_detection | boolean | null | Ask the carrier to classify who answered (human vs answering machine) before the agent speaks. The verdict drives the voicemail path at call time and populates |
Responses
202 Call accepted
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.call_id | string (uuid) | |
data.status | string | Example |
data.scheduled_time | string | |
data.destination_phone | string | |
data.bot_id | string | |
data.answering_machine_detection | boolean | Echoes the per-call setting. Present only on the 202 response and only when the request set |
meta | object | Present only when there is a warning. |
meta.warnings | array of string | Human-readable warnings. Currently one case: |
400 The request was understood but refused. error.code is one of: bad_request (empty request body, or the bot's agent is not deployed or active), invalid_campaign_id_format, campaign_not_found, campaign_not_in_org, campaign_deleted, invalid_amd_flag, invalid_custom_data_shape, invalid_questions_format, invalid_question_entry, duplicate_question_key, questions_required. Field validation failures are 422, not 400.
401 Missing or invalid API key.
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
403 Authenticated but not permitted (insufficient scope uses the auth envelope with code INSUFFICIENT_SCOPE; policy/plan denials use the router envelope).
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
404 Resource not found (also returned for cross-tenant ids to avoid existence leaks).
429 Rate limit exceeded.
Headers: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Request-ID
200 Idempotent replay. The Idempotency-Key matched a call scheduled in the last 24 hours; no new call was queued. data is the existing job with its current status, without answering_machine_detection.
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.call_id | string (uuid) | |
data.status | string | Example |
data.scheduled_time | string | |
data.destination_phone | string | |
data.bot_id | string | |
data.answering_machine_detection | boolean | Echoes the per-call setting. Present only on the 202 response and only when the request set |
meta | object required | |
meta.idempotent | boolean required | Always |
422 Field validation failed (validation_error): invalid JSON, a missing required field (bot_id, destination_phone, and callback_url when the key has webhooks enabled), an unusable phone number, an invalid callback_url or callback_secret, custom_data over 16 KB, or an invalid scheduled_time or time_zone. Unlike other v2 endpoints this is 422 and the field errors are under error.errors.
500 The do-not-call check could not be completed (internal_error). The request fails closed: nothing was queued. Retry later.
Callback: callResult
POST to {$request.body#/callback_url}
Sent when the call reaches a final state. See the operation description for signing and retries.
Callback body application/json required
| Field | Type | Description |
|---|---|---|
event | string required | Derived from One of: |
call_id | string (uuid) required | |
bot_id | string required | |
destination_phone | string required | |
contact_name | string | null | |
status | string required | |
timestamp | string (date-time) required | When this delivery was built. |
no_ai_call | object | Present only when status is |
no_ai_call.reason | string required | Why no AI call was placed. One of: |
no_ai_call.line_type | string required | The line type the decision was made with. One of: |
no_ai_call.message | string required | A sentence for display. One fixed sentence per status, except reason |
created_at | string | |
started_at | string | |
completed_at | string | |
call_duration_seconds | integer | |
disposition | string | |
outcome | string | |
final_intent | string | |
transcript_summary | string | |
extracted_data | any | The call's extracted answers, as on |
verdict_ready | boolean required | True only when |
recorded | boolean required | The call was being recorded. It does not mean the audio is ready yet. |
recording_url | string | Present when |
custom_data | any | The |
GET /calls/{id}
Get call status + result
Auth: API key (Authorization: Bearer). Scope: calls:read.
Returns a call scheduled through POST /calls as a CallJobDetail.
If the id is not a scheduled call job but is another call of your organization (for example a campaign or inbound call), the response is a CallDetailTelephony instead: a smaller shape with direction, provider_status, from_number, to_number and recorded, and without the job fields. If neither exists the response is 404 CALL_NOT_FOUND.
transcript, recording_url and extracted_data.answers[].quote are returned only when the key also has the calls:recordings scope.
Requires one of the following scopes: calls:read.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string required | Call UUID |
Responses
200 Success
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.hold | object | Present only while status is pending/queued AND dispatch is deferred by a compliance gate. Explains why the call has not gone out yet. A hold is informational, not an error: the platform retries on its own and the call dials once the hold clears. That is bounded, though. A safety-net reaper fails a still-queued call outright under either of two rules: one hour past its scheduled time if the calling window for that number is currently OPEN (a row that could be dialing and is not is treated as stuck rather than waiting), or 24 hours past its creation regardless of the window. The one-hour rule bites precisely when nothing window-related is holding the call, which is the case for most of the silent gates listed below. KNOWN GAP: neither reap is reflected here - the reaper updates internal queue state only, so this endpoint keeps reporting queued for a call that has in fact been abandoned; bound your polling by wall-clock age rather than waiting indefinitely for a terminal status. The converse does NOT hold either: absence of |
data.hold.code | string | Machine-readable deferral reason, e.g. CALLING_HOURS or FREQUENCY_CAPPED. Branch on this, not on |
data.hold.message | string | Human-readable explanation. Wording is not stable; do not parse it. |
data.hold.next_attempt_at | string (date-time) | CALLING_HOURS only, and only when an opening falls within the next 8 days: the next moment the calling window is open, UTC ISO-8601. STRICTLY ADVISORY - do not schedule against it, and do not treat it as a guaranteed lower bound. It is a snapshot computed at read time from the window as it stands at that moment, so re-read it rather than caching it. The call will not usually dial before it, but it can, in two known ways: an operator widening the org window while the call is parked moves the real opening earlier than the value you were handed, and the value is rounded UP to the whole minute, so a window opening at 09:00:30 is reported as 09:01:00 while the dialer may place the call at 09:00:30. Beyond that sub-minute rounding it is never pushed out: the search either finds the first true opening or omits the field, never a later one. OMITTED when no opening is found within the horizon - including the pathological case of a calling window narrower than five minutes, which the coarse search pass can step over entirely - and always omitted for other hold codes, whose clearing time is not a schedule and cannot be predicted. |
data.no_ai_call | object | Present only when status is |
data.no_ai_call.reason | string required | Why no AI call was placed. One of: |
data.no_ai_call.line_type | string required | The line type the decision was made with. One of: |
data.no_ai_call.message | string required | A sentence for display. One fixed sentence per status, except reason |
data.call_id | string (uuid) | |
data.bot_id | string | |
data.destination_phone | string | |
data.contact_name | string | null | |
data.status | string |
One of: |
data.scheduled_time | string | |
data.time_zone | string | |
data.attempts | integer | |
data.max_attempts | integer | |
data.created_at | string (date-time) | |
data.custom_data | object | The Accepts any keys |
data.started_at | string (date-time) | Present once the call has started. |
data.call_duration_seconds | integer | |
data.disposition | string | |
data.outcome | string | Connection-level result. NOTE: |
data.final_intent | string | |
data.answered_by | string | Who answered. Present once the call has started. One of: |
data.answered_by_source | string | What evidence produced One of: |
data.completed_at | string (date-time) | Present once the call is completed, failed, cancelled, or closed as needs_manual_call, opted_out or landline_cap. |
data.transcript_summary | string | Model-written precis of the conversation, gated on deprecated |
data.transcript | string | Verbatim turn-by-turn transcript. Requires the |
data.extracted_data | object | Structured answers extracted from the conversation, keyed by question Accepts any keys |
data.recording_url | string (uri) | Requires the |
data.error | object | Present only when |
data.error.code | string | |
data.error.message | string | |
data.pathfinder | object | Present only once |
data.pathfinder.outcome | string | Navigation outcome, e.g. |
data.pathfinder.reached | boolean |
|
data.pathfinder.retry_later | boolean |
|
data.pathfinder.seconds | integer | |
data.pathfinder.hold_seconds | integer | |
data.pathfinder.menu_steps | integer | |
data.pathfinder.transfers | integer | |
data.direction | string | null | |
data.provider_status | string | null | The raw, unmapped call status. |
data.from_number | string | null | |
data.to_number | string | null | |
data.agent_id | integer | |
data.campaign_id | integer | |
data.recorded | boolean | Whether a recording exists and has not expired. |
400 Invalid request (validation errors under error.details.validation_errors).
401 Missing or invalid API key.
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
403 Authenticated but not permitted (insufficient scope uses the auth envelope with code INSUFFICIENT_SCOPE; policy/plan denials use the router envelope).
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
404 Resource not found (also returned for cross-tenant ids to avoid existence leaks).
429 Rate limit exceeded.
Headers: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Request-ID
DELETE /calls/{id}
Cancel a pending/queued call
Auth: API key (Authorization: Bearer). Scope: calls:cancel.
Requires one of the following scopes: calls:cancel. Only a pending or queued call can be cancelled. A call already closed as needs_manual_call, opted_out or landline_cap is final: the answer is a 200 with cancelled: false and already_final: true, its status unchanged, not an error. Any other finished or in-progress call answers 400 CANNOT_CANCEL.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string required | Call UUID |
Responses
200 The call was cancelled, or it was already final because no AI call was placed (already_final: true).
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.call_id | string | |
data.status | string |
One of: |
data.message | string | |
data.cancelled | boolean | Present only with |
data.already_final | boolean | Present, and true, only when the call was already closed as needs_manual_call, opted_out or landline_cap. |
data.no_ai_call | object | Present only when status is |
data.no_ai_call.reason | string required | Why no AI call was placed. One of: |
data.no_ai_call.line_type | string required | The line type the decision was made with. One of: |
data.no_ai_call.message | string required | A sentence for display. One fixed sentence per status, except reason |
400 Call is not cancellable (already dialing, completed, failed or cancelled) or bad UUID
401 Missing or invalid API key.
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
403 Authenticated but not permitted (insufficient scope uses the auth envelope with code INSUFFICIENT_SCOPE; policy/plan denials use the router envelope).
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
404 Resource not found (also returned for cross-tenant ids to avoid existence leaks).
429 Rate limit exceeded.
Headers: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Request-ID
POST /calls/{id}/extract
Re-run answer extraction for a completed call
Auth: API key (Authorization: Bearer). Scope: calls:schedule.
Queues the call's structured-answer extraction to run again. No request body.
The call must be a job scheduled through POST /calls, be completed, have been scheduled with questions, and have completed within the last 90 days. A call can be re-extracted at most 5 times, and not within 5 minutes of the previous request.
Requires one of the following scopes: calls:schedule.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string required | Call UUID |
Responses
202 Re-extraction requested.
Headers: X-Request-ID, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-API-Key-Expires-At, X-API-Key-Expires-In-Days
Response fields
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
data | object required | |
data.call_id | string | |
data.extract_requested_at | string | null | When this re-extraction request was recorded. A database datetime ( |
400 The call cannot be re-extracted. error.code is NOT_COMPLETED (the call is not completed), NO_QUESTIONS (it was scheduled without questions) or TOO_OLD (it completed more than 90 days ago).
401 Missing or invalid API key.
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
403 Authenticated but not permitted (insufficient scope uses the auth envelope with code INSUFFICIENT_SCOPE; policy/plan denials use the router envelope).
Headers: X-Request-ID
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
404 CALL_NOT_FOUND: no scheduled call job with this id in your organization. An id that is not a UUID returns not_found.
429 Either the API key's rate limit (auth envelope, RATE_LIMIT_EXCEEDED) or a per-call limit in the router envelope: ALREADY_REQUESTED (a re-extraction was requested in the last 5 minutes) or EXTRACT_LIMIT (the call has already been re-extracted 5 times). The per-call limits carry no Retry-After header.
Response fields
Shape 1 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.code | string required | e.g. MISSING_AUTH, INVALID_API_KEY, INSUFFICIENT_SCOPE, RATE_LIMIT_EXCEEDED. |
error.message | string required | |
error.retry_after | integer | Seconds; present on 429 only. |
Shape 2 of 2
| Field | Type | Description |
|---|---|---|
success | boolean required | Always |
error | object required | |
error.message | string required | |
error.code | string required | Machine-readable error code, e.g. bad_request, not_found. |
error.details | object | null | Optional; validation failures put field errors under details.validation_errors. Accepts any keys |
503 Re-extraction is not available on this deployment (NOT_AVAILABLE).
Ready to build on Vosy?
API access is included with the Business and Enterprise plans. Sign up, choose a plan with API access, and create your own keys from the Vosy API page in your account. Compare plans
Get Started