# VoiceKit > VoiceKit is a programmable voice API for developers and SaaS platforms: give each of your customers phone numbers, extensions, desk phones and browser softphones, call flows (IVR), queues, recordings and webhooks through one REST API. Every page below is Markdown. Base URL of the docs: https://docs.voicekit.cloud. API: https://api.voicekit.cloud. OpenAPI spec: https://docs.voicekit.cloud/openapi.json. All docs in one file: https://docs.voicekit.cloud/llms-full.txt. ## AGENTS Short rules for coding agents (Claude Code, Cursor and others) integrating with VoiceKit. - Base URL: `https://api.voicekit.cloud/v1`. JSON in and out (`Content-Type: application/json`). The spec is at https://docs.voicekit.cloud/openapi.json (OpenAPI 3.1). Call the API from servers only, never from a browser or mobile app. - Auth: send `Authorization: Bearer vk_live__`. Create keys in the console (Developers) or with `POST /v1/api-keys`; the full key is shown once. Give each key only the scopes it needs and restrict it with `allowed_ips`. Console sign-in (cookie `vk_session`) is for people, not integrations. - Scope: an account-wide key reaches every tenant of the account; a key created with `tenant_id` reaches only that tenant. Ids from another account always return 404. - Idempotency: `POST /v1/tenants` upserts by `external_ref` (201 created, 200 updated); `PUT .../agents/{external_user_id}` upserts with the full current state; `DELETE` returns 204 even when already deleted. Retry these freely. `POST .../calls` and `POST .../sip-credentials` are not idempotent: do not blindly retry them. - Pagination: list endpoints that page (`GET .../calls`, `GET /v1/debugger`) return `{"items": [...], "next_cursor": ...}`. Pass `next_cursor` as `cursor` until it is null. `limit` defaults to 50, at most 200. - Errors: `{"error": {"code": "snake_case_code", "message": "..."}}` with the HTTP status. Branch on `code`, never on `message`. Do not retry 4xx unchanged; retry 5xx and network errors with exponential backoff. Call problems use `VK-xxxxx` codes (`{"code", "severity", "title", "message", "hint", "docs_url"}`), documented at https://docs.voicekit.cloud/errors/VK-xxxxx and listed by `GET /v1/errors` (no key needed). - Webhooks: VoiceKit POSTs `{"id", "type", "created_at", "account_id", "tenant_id", "data"}`. Verify `VoiceKit-Signature: t=,v1=` where hex is HMAC-SHA256 of `"."` with the webhook secret; compare in constant time and reject old timestamps (for example older than 5 minutes). Answer 2xx within 10 seconds. Delivery is at least once and unordered: dedupe on `id`, order by `created_at`. - Devices: desk phones and SIP apps register to `edge.voicekit.cloud` on UDP 5060 or TLS 5061 with the tenant's `sip_domain` as the SIP domain. Browsers use `wss://edge.voicekit.cloud/ws` with a short-lived SDK token from `POST .../agents/{external_user_id}/sdk-token`. - Every docs page is also Markdown: add `.md` to its URL (`https://docs.voicekit.cloud/quickstart.md`). All docs in one file: https://docs.voicekit.cloud/llms-full.txt. ## Get started - [What is VoiceKit](https://docs.voicekit.cloud/index.md): VoiceKit is a programmable voice API that gives every customer of your product phone numbers, extensions, softphones, call flows and queues. - [Quickstart](https://docs.voicekit.cloud/quickstart.md): Go from an API key to a ringing phone, your first call and your first webhook in about five minutes. - [Authentication](https://docs.voicekit.cloud/authentication.md): Integrations authenticate with API keys in the Authorization header; people sign in to the console with email and password. ## Concepts - [Accounts, tenants and customers](https://docs.voicekit.cloud/concepts/accounts-and-tenants.md): Your account holds tenants, one per customer, and each tenant has its own SIP domain, extensions, numbers and settings. - [Extensions and devices](https://docs.voicekit.cloud/concepts/extensions-and-devices.md): Every active agent gets an extension automatically, and desk phones, SIP apps and browsers sign in to that extension. - [Numbers and trunks](https://docs.voicekit.cloud/concepts/numbers-and-trunks.md): A trunk connects a tenant to your carrier (bring your own carrier), and a number on that trunk sends its calls to a flow, queue or extension. - [Calls and legs](https://docs.voicekit.cloud/concepts/calls-and-legs.md): A call is one conversation with one id; each party it reaches, such as the caller, a queue or a ringing agent, is a leg of that call. - [IVR flows](https://docs.voicekit.cloud/concepts/ivr-flows.md): A call flow is a graph of steps (hours, menus, prompts, input, HTTP requests, queues, extensions, voicemail) that answers calls and decides where they go. - [Queues](https://docs.voicekit.cloud/concepts/queues.md): A queue holds callers until an agent is free, rings agents with a ring strategy, and sends callers elsewhere when nobody can answer. - [Recordings](https://docs.voicekit.cloud/concepts/recordings.md): VoiceKit records calls on the server in stereo, keeps them for your plan's retention period, and gives you the audio over the API or a signed link. - [Webhooks and events](https://docs.voicekit.cloud/concepts/webhooks.md): VoiceKit sends signed HTTPS POST requests to your server when calls, legs, queues, recordings, agents and limits change. - [Limits and plans](https://docs.voicekit.cloud/concepts/limits-and-plans.md): Plans are sized in concurrent calls and extensions, with unlimited minutes on every paid plan. - [API conventions](https://docs.voicekit.cloud/concepts/api-conventions.md): Base URL, JSON, ids, pagination, idempotent calls, retries and rate limits, the same for every endpoint. - [Errors](https://docs.voicekit.cloud/concepts/errors.md): API requests fail with an HTTP status and a stable snake_case code, and calls fail with a VK-xxxxx code that has a message, a fix and a docs page. ## Guides - [Build a contact centre](https://docs.voicekit.cloud/guides/contact-centre.md): Set up a number with business hours and a menu that sends callers to a queue of agents, then watch it live and report on it. - [Embed a softphone](https://docs.voicekit.cloud/guides/embed-softphone.md): Put a phone in your web or desktop app with the WebRTC SDK, signed in with a short-lived token your backend gets for each agent. - [Embed VoiceKit screens](https://docs.voicekit.cloud/guides/embed-screens.md): Show the IVR builder, queue editor and SIP trunk (BYOC) form inside your own product, for one customer at a time, with short-lived embed tokens. - [Connect a carrier trunk](https://docs.voicekit.cloud/guides/carrier-trunk.md): Bring your own carrier (BYOC): add a SIP trunk, allow the carrier's addresses, add your numbers and test calls in both directions. - [Desk phones and SIP apps](https://docs.voicekit.cloud/guides/desk-phones.md): Sign in a hardware phone or a SIP app to an extension over UDP 5060 or TLS 5061, with the tenant's SIP domain as the Domain. - [Migrate from a PBX](https://docs.voicekit.cloud/guides/migrate-from-pbx.md): Move extensions, numbers, IVR menus, queues, phones and softphone code from a business phone system to VoiceKit, one tenant at a time. - [Platform integration](https://docs.voicekit.cloud/guides/platform-integration.md): Connect a multi-tenant SaaS product to VoiceKit: one tenant per customer, users kept in sync from your database, softphone tokens on sign-in and a nightly reconcile. - [Debugging calls](https://docs.voicekit.cloud/guides/debugging-calls.md): Find out why a call failed without asking support, using error codes, the call trace, audio quality, the debugger log and the built-in test numbers. - [Network and firewall](https://docs.voicekit.cloud/guides/network-and-firewall.md): The ports, router settings and quality of service your customers' office networks need for clear calls. - [Security and IP allowlists](https://docs.voicekit.cloud/guides/security.md): Limit desk phones and browser agents to your customers' office networks, and see what VoiceKit blocks for you automatically. ## API reference - [API reference](https://docs.voicekit.cloud/api.md): Every VoiceKit REST endpoint, grouped by resource, with auth, parameters, examples in curl, JavaScript and Python, responses and errors. - [Tenants API](https://docs.voicekit.cloud/api/tenants.md): Your customers. Create one per customer that uses voice. - [Agents and extensions API](https://docs.voicekit.cloud/api/agents.md): Your users. Each active user gets a SIP extension automatically. - [Numbers API](https://docs.voicekit.cloud/api/numbers.md): Phone numbers and where their calls go. - [Trunks API](https://docs.voicekit.cloud/api/trunks.md): SIP trunks to carriers: inbound by source IP, outbound by host and credentials. - [Call flows API](https://docs.voicekit.cloud/api/flows.md): Call flows (IVR): draft, validate, publish. - [Queues API](https://docs.voicekit.cloud/api/queues.md): Queues, their members, and how calls are distributed. - [Calls API](https://docs.voicekit.cloud/api/calls.md): Call history, live state, starting calls and live call control. - [Recordings API](https://docs.voicekit.cloud/api/recordings.md): Call recordings and their audio. - [Webhooks API](https://docs.voicekit.cloud/api/webhooks.md): Signed HTTPS callbacks for call, queue, recording and agent events. - [Reports API](https://docs.voicekit.cloud/api/reports.md): Queue reports over a time range. - [Debugger API](https://docs.voicekit.cloud/api/debugger.md): Errors and warnings in your account, with or without a call. Kept 30 days. - [Error catalogue API](https://docs.voicekit.cloud/api/errors.md): The public catalogue of VoiceKit error codes: meaning, likely fix and docs link. - [IP allowlists API](https://docs.voicekit.cloud/api/acls.md): IP allowlists for trunks, desk phones and WebRTC agents. - [API keys API](https://docs.voicekit.cloud/api/api-keys.md): Keys for your servers. Shown once; restrict them by IP. - [Accounts API](https://docs.voicekit.cloud/api/accounts.md): Accounts, their plan and usage. Creating and changing accounts is for VoiceKit operators; an account's keys can read their own account and its usage. - [Plans API](https://docs.voicekit.cloud/api/plans.md): Plans (concurrent calls, extensions, minutes) and add-on prices. Listing is public. - [Console sign-in API](https://docs.voicekit.cloud/api/auth.md): Console sign-in for people (session cookie). Integrations use API keys. - [Console team API](https://docs.voicekit.cloud/api/console.md): Console team management and the signed-in user's softphone. - [Branding API](https://docs.voicekit.cloud/api/branding.md): White-label branding: brand name, colour, logo and softphone title. The softphone widget reads it by public key. - [Caller Lists API](https://docs.voicekit.cloud/api/caller-lists.md): VIP and blocked callers, checked on every inbound call before routing. - [Dial Plans API](https://docs.voicekit.cloud/api/dial-plans.md): Calling restrictions: allowed countries and blocked number types for outbound calls. - [Embed API](https://docs.voicekit.cloud/api/embed.md): Embeddable screens: the IVR builder, queue editor and SIP trunk (BYOC) screens inside your product, with short-lived embed tokens for one customer. - [Media API](https://docs.voicekit.cloud/api/media.md): Audio library: prompts and hold music, uploaded or made with text to speech. Use an item as `media:`. - [Request Logs API](https://docs.voicekit.cloud/api/request-logs.md): Requests made to the API by your keys and console users. Kept 14 days. Every response has an `X-Request-Id` header and every error a `request_id`. - [Schedules API](https://docs.voicekit.cloud/api/schedules.md): Shared business hours and holidays for flows and numbers. - [Security API](https://docs.voicekit.cloud/api/security.md): Fraud and spend limits on outbound calls, addresses blocked at the edge, and security events. ## SDKs - [WebRTC SDK](https://docs.voicekit.cloud/sdks/webrtc.md): @voicekit/webrtc is the headless SDK for VoiceKit calls in a browser or desktop app with your own UI: sign-in, calls, hold, transfer, DTMF, devices, quality and a React hook. - [Softphone widget](https://docs.voicekit.cloud/sdks/softphone-widget.md): is a complete, themeable softphone your users get with one script tag: dial pad, incoming calls, mute, hold, DTMF, transfer, history and presence. - [@voicekit/embed](https://docs.voicekit.cloud/sdks/embed.md): Show VoiceKit screens in your page with mountScreen or the React VoiceKitScreen component; options, events and methods. ## Feature notes - [Audio library](https://docs.voicekit.cloud/features/audio-library.md): Prompts and hold music per tenant: upload a recording or create one from text, then use it in IVR flow steps, queue announcements and queue hold music. - [Blocked IPs](https://docs.voicekit.cloud/features/blocked-ips.md): The edge blocks an address for one hour (Kamailio htable banned, autoexpire=3600) after 10 failed sign-ins in 10 minutes, a request flood (pike) or a known SIP scanner user agent. - [White-label branding](https://docs.voicekit.cloud/features/branding.md): Each account can set a brand name, a primary colour, a logo and the softphone title. - [Shared business hours and holidays](https://docs.voicekit.cloud/features/business-hours.md): A schedule is a time zone, weekly opening hours and holidays, set up once and used by IVR flows and phone numbers. - [VIP and blocked callers](https://docs.voicekit.cloud/features/caller-lists.md): Caller lists are checked on every inbound call from a carrier, before routing and before the call takes a concurrent-call slot. - [Calling restrictions (dial plans)](https://docs.voicekit.cloud/features/calling-restrictions.md): Which countries a tenant may call and which number types are blocked, to protect against toll fraud. - [Hourly charts, trunk utilisation and trunk health](https://docs.voicekit.cloud/features/charts-and-trunk-health.md): Data behind the dashboard and report charts. - [Customers](https://docs.voicekit.cloud/features/customers.md): Customers are the tenants of a platform account: one per business that uses voice through your product. - [Embeddable screens](https://docs.voicekit.cloud/features/embeddable-screens.md): The IVR builder, queue editor and SIP trunk (BYOC) screens of the developer dashboard, shown inside a platform's own product (e.g. - [Fraud and spend protection](https://docs.voicekit.cloud/features/fraud-protection.md): Limits on outbound calls per account, and optionally per tenant, so a stolen SIP password or API key cannot run up a large carrier bill. - [Buying and porting phone numbers](https://docs.voicekit.cloud/features/phone-numbers.md): Numbers are bought through a numbers provider (a carrier with a numbers API). - [Recording retention, legal hold and pausing for card payments](https://docs.voicekit.cloud/features/recording-retention.md): Recordings older than the account's retention are deleted (audio file and record, status deleted) by an hourly cleanup in control-plane (VK_RECORDING_RETENTION=false turns it off in a process). - [API request logs and request ids](https://docs.voicekit.cloud/features/request-logs.md): Every API response carries an X-Request-Id header, and every error body carries the same id: - [Security events](https://docs.voicekit.cloud/features/security-events.md): A filtered view of the debugger log (debug_events, 30 days) for edge security: failed device and WebRTC sign-ins, blocked addresses and allowlist rejections (codes VK-10xxx and VK-11xxx). - [Console account security: two-factor sign-in, sessions, profile](https://docs.voicekit.cloud/features/two-factor.md): Authenticator apps (RFC 6238: SHA1, 6 digits, 30 s, one step of clock drift). ## Errors - [Error codes](https://docs.voicekit.cloud/errors.md): Every API error code and every VK-xxxxx call error code, with what it means and how to fix it. ## Resources - [Changelog](https://docs.voicekit.cloud/changelog.md): Changes to the VoiceKit API, platform and docs, newest first. - [Roadmap](https://docs.voicekit.cloud/roadmap.md): What VoiceKit is building next; order and timing can change, and each item is announced in the changelog. - [Support](https://docs.voicekit.cloud/support.md): How to get help from the VoiceKit team, and what to include so we can answer on the first reply. ## Optional One page per error code. The same list is on https://docs.voicekit.cloud/errors.md. - [VK-10001: Number not found](https://docs.voicekit.cloud/errors/VK-10001.md): A carrier sent a call to the number, which is not a number on any VoiceKit account. - [VK-10002: Carrier address not allowed](https://docs.voicekit.cloud/errors/VK-10002.md): A call to the number came from this address, which is not on the allowed address list of the number's trunk. - [VK-10003: Trunk disabled](https://docs.voicekit.cloud/errors/VK-10003.md): A call came in on your trunk, which is disabled. - [VK-10004: Number disabled](https://docs.voicekit.cloud/errors/VK-10004.md): A call came in to the number, which is disabled. - [VK-10005: Account suspended](https://docs.voicekit.cloud/errors/VK-10005.md): A call came in for an account that is suspended. - [VK-10006: Unknown carrier address](https://docs.voicekit.cloud/errors/VK-10006.md): A call came from this address, which is not an allowed address of any trunk. - [VK-10090: Edge events rate limited](https://docs.voicekit.cloud/errors/VK-10090.md): Some events from this address were not logged because the address sent too many in one minute. - [VK-11001: Wrong SIP password](https://docs.voicekit.cloud/errors/VK-11001.md): A device signed in as the extension with a wrong password. - [VK-11002: SDK token expired](https://docs.voicekit.cloud/errors/VK-11002.md): A WebRTC client for the extension used an SDK token that has expired. - [VK-11003: SDK token not valid](https://docs.voicekit.cloud/errors/VK-11003.md): A WebRTC client for the extension used an SDK token that is not valid. - [VK-11004: Address blocked after failed sign-ins](https://docs.voicekit.cloud/errors/VK-11004.md): this address is blocked for a while after too many failed sign-ins. - [VK-11005: Device address not allowed](https://docs.voicekit.cloud/errors/VK-11005.md): A device for the extension signed in from this address, which is not on the tenant's allowed list. - [VK-11006: Unknown SIP domain](https://docs.voicekit.cloud/errors/VK-11006.md): A device tried to sign in to the SIP domain, which is not a VoiceKit tenant domain. - [VK-11007: Unknown or disabled extension](https://docs.voicekit.cloud/errors/VK-11007.md): A device tried to sign in as the extension, which does not exist in this tenant, is disabled, or belongs to an inactive agent. - [VK-11008: Device not registered](https://docs.voicekit.cloud/errors/VK-11008.md): the extension has no device signed in. - [VK-11009: WebRTC credential revoked](https://docs.voicekit.cloud/errors/VK-11009.md): A WebRTC client for the extension used a credential that was revoked. - [VK-11010: Address blocked for flooding](https://docs.voicekit.cloud/errors/VK-11010.md): this address is blocked for a while after sending too many requests. - [VK-11020: Address blocked by the edge](https://docs.voicekit.cloud/errors/VK-11020.md): this address is blocked at the VoiceKit edge after a flood of requests, a known scanner or repeated failed sign-ins. - [VK-11021: Address unblocked](https://docs.voicekit.cloud/errors/VK-11021.md): this address was unblocked. - [VK-20000: Call ended normally](https://docs.voicekit.cloud/errors/VK-20000.md): The call ended normally. - [VK-20001: Call transferred](https://docs.voicekit.cloud/errors/VK-20001.md): The call was transferred. - [VK-20002: Caller hung up before an answer](https://docs.voicekit.cloud/errors/VK-20002.md): The caller hung up before anyone answered. - [VK-20003: Answered elsewhere](https://docs.voicekit.cloud/errors/VK-20003.md): Another device or agent answered the call first. - [VK-20010: Number not valid](https://docs.voicekit.cloud/errors/VK-20010.md): The dialled number the number is not a valid phone number. - [VK-20011: Number does not exist](https://docs.voicekit.cloud/errors/VK-20011.md): the number does not exist. - [VK-20012: Number has no destination](https://docs.voicekit.cloud/errors/VK-20012.md): the number has no destination set, so the caller heard that the number is not in service. - [VK-20013: Flow not available](https://docs.voicekit.cloud/errors/VK-20013.md): The call was sent to a flow that does not exist or is not published. - [VK-20014: No outbound trunk](https://docs.voicekit.cloud/errors/VK-20014.md): the extension called the number, but the tenant has no enabled outbound trunk. - [VK-20015: Extension offline](https://docs.voicekit.cloud/errors/VK-20015.md): the extension has no device signed in, so it could not ring. - [VK-20016: Extension not found](https://docs.voicekit.cloud/errors/VK-20016.md): The call was sent to the extension, which does not exist or is disabled. - [VK-20017: Queue wait limit reached](https://docs.voicekit.cloud/errors/VK-20017.md): The caller waited in the queue for the longest time allowed and no agent answered. - [VK-20018: No agents in the queue](https://docs.voicekit.cloud/errors/VK-20018.md): Nobody in the queue was logged in and available, so the caller could not wait for an agent. - [VK-20019: Queue full](https://docs.voicekit.cloud/errors/VK-20019.md): the queue already had the most callers allowed waiting. - [VK-20020: Routing loop](https://docs.voicekit.cloud/errors/VK-20020.md): The call was sent between flows, queues or extensions too many times and was ended. - [VK-20021: Call did not come through VoiceKit routing](https://docs.voicekit.cloud/errors/VK-20021.md): The media server received a call without VoiceKit's routing headers and rejected it. - [VK-20022: Tenant not available](https://docs.voicekit.cloud/errors/VK-20022.md): The call was for a tenant that does not exist, is suspended, or does not match the SIP domain. - [VK-20023: Caller extension not found](https://docs.voicekit.cloud/errors/VK-20023.md): A device called as the extension, which is not an enabled extension of an active agent. - [VK-20024: Webhook routing not available yet](https://docs.voicekit.cloud/errors/VK-20024.md): the number is set to route calls to a webhook, which is not available yet. - [VK-20025: Call handling failed](https://docs.voicekit.cloud/errors/VK-20025.md): VoiceKit could not finish handling the call because of an internal error. - [VK-20030: Extension did not answer](https://docs.voicekit.cloud/errors/VK-20030.md): the extension rang but nobody answered. - [VK-20031: Extension busy](https://docs.voicekit.cloud/errors/VK-20031.md): the extension was busy. - [VK-20032: Extension declined the call](https://docs.voicekit.cloud/errors/VK-20032.md): the extension declined the call. - [VK-20033: Caller left the queue](https://docs.voicekit.cloud/errors/VK-20033.md): The caller hung up while waiting in the queue. - [VK-20034: No agent answered](https://docs.voicekit.cloud/errors/VK-20034.md): The caller left the queue without an agent answering. - [VK-20040: Destination not allowed](https://docs.voicekit.cloud/errors/VK-20040.md): The calling restrictions refused a call to the number: the country or the number type is not allowed. - [VK-20041: Caller blocked](https://docs.voicekit.cloud/errors/VK-20041.md): A call from the number was refused because the caller is on a blocked caller list. - [VK-20042: Business hours schedule not found](https://docs.voicekit.cloud/errors/VK-20042.md): A business hours step uses a schedule that was deleted, so the call took the closed path. - [VK-21001: Carrier did not respond](https://docs.voicekit.cloud/errors/VK-21001.md): The carrier on your trunk did not answer the call request in time. - [VK-21002: No answer](https://docs.voicekit.cloud/errors/VK-21002.md): The called party did not answer. - [VK-21003: Busy](https://docs.voicekit.cloud/errors/VK-21003.md): The called party was busy. - [VK-21004: Call rejected](https://docs.voicekit.cloud/errors/VK-21004.md): The called party rejected the call. - [VK-21005: Number changed](https://docs.voicekit.cloud/errors/VK-21005.md): the number has changed or moved. - [VK-21006: Destination out of order](https://docs.voicekit.cloud/errors/VK-21006.md): The network could not reach the number because the far end is out of order. - [VK-21007: Network congestion](https://docs.voicekit.cloud/errors/VK-21007.md): The carrier's network had no capacity for the call. - [VK-21008: Network failure](https://docs.voicekit.cloud/errors/VK-21008.md): The carrier's network failed while setting up or during the call. - [VK-21009: Call barred](https://docs.voicekit.cloud/errors/VK-21009.md): The carrier on your trunk does not allow this call (for example international calls or this number range). - [VK-21010: Service not available](https://docs.voicekit.cloud/errors/VK-21010.md): The carrier on your trunk does not offer the service the call needs. - [VK-21011: Signalling protocol error](https://docs.voicekit.cloud/errors/VK-21011.md): The carrier on your trunk reported a signalling protocol error. - [VK-21012: Call declined as unwanted](https://docs.voicekit.cloud/errors/VK-21012.md): The far end or the carrier declined the call as unwanted. - [VK-21013: Caller identity rejected](https://docs.voicekit.cloud/errors/VK-21013.md): The carrier on your trunk rejected the caller identity of the call. - [VK-21014: Carrier authentication failed](https://docs.voicekit.cloud/errors/VK-21014.md): The carrier on your trunk asked for authentication and did not accept the trunk's credentials. - [VK-21015: Trunk not reachable](https://docs.voicekit.cloud/errors/VK-21015.md): VoiceKit could not send the call to your trunk because the trunk's settings are not usable. - [VK-21400: Carrier could not read the call request](https://docs.voicekit.cloud/errors/VK-21400.md): The carrier on your trunk answered 400 Bad Request. It could not understand the call request. - [VK-21401: Carrier asked for authentication](https://docs.voicekit.cloud/errors/VK-21401.md): The carrier on your trunk answered 401 Unauthorized. It wants credentials for this call. - [VK-21402: Carrier account needs payment](https://docs.voicekit.cloud/errors/VK-21402.md): The carrier on your trunk answered 402 Payment Required. Your carrier account may be out of credit. - [VK-21403: Carrier rejected the call](https://docs.voicekit.cloud/errors/VK-21403.md): The carrier on your trunk answered 403 Forbidden. It refused to place the call. - [VK-21404: Number not found](https://docs.voicekit.cloud/errors/VK-21404.md): The carrier on your trunk answered 404 Not Found. The dialled number does not exist on the carrier's network. - [VK-21405: Carrier does not accept this request](https://docs.voicekit.cloud/errors/VK-21405.md): The carrier on your trunk answered 405 Method Not Allowed. It does not accept this kind of request. - [VK-21406: Carrier cannot accept the call](https://docs.voicekit.cloud/errors/VK-21406.md): The carrier on your trunk answered 406 Not Acceptable. It cannot provide what the call asked for. - [VK-21407: Carrier asked for proxy authentication](https://docs.voicekit.cloud/errors/VK-21407.md): The carrier on your trunk answered 407 Proxy Authentication Required. It wants credentials for this call. - [VK-21408: No answer in time](https://docs.voicekit.cloud/errors/VK-21408.md): The carrier on your trunk answered 408 Request Timeout. The far end did not answer in time. - [VK-21410: Number no longer in use](https://docs.voicekit.cloud/errors/VK-21410.md): The carrier on your trunk answered 410 Gone. The number is no longer in use. - [VK-21412: Carrier refused a conditional request](https://docs.voicekit.cloud/errors/VK-21412.md): The carrier on your trunk answered 412 Conditional Request Failed. A condition of the request was not met. - [VK-21413: Call request too large](https://docs.voicekit.cloud/errors/VK-21413.md): The carrier on your trunk answered 413 Request Entity Too Large. The call request was larger than it accepts. - [VK-21414: Dialled address too long](https://docs.voicekit.cloud/errors/VK-21414.md): The carrier on your trunk answered 414 Request-URI Too Long. The dialled address was longer than it accepts. - [VK-21415: Carrier does not support the call's media format](https://docs.voicekit.cloud/errors/VK-21415.md): The carrier on your trunk answered 415 Unsupported Media Type. It does not support the format of the call request. - [VK-21416: Carrier does not support the address format](https://docs.voicekit.cloud/errors/VK-21416.md): The carrier on your trunk answered 416 Unsupported URI Scheme. It does not support the address format of the call. - [VK-21417: Carrier does not support the call priority](https://docs.voicekit.cloud/errors/VK-21417.md): The carrier on your trunk answered 417 Unknown Resource-Priority. It does not support the requested call priority. - [VK-21420: Carrier does not support a required feature](https://docs.voicekit.cloud/errors/VK-21420.md): The carrier on your trunk answered 420 Bad Extension. It does not support a SIP feature the call needs. - [VK-21421: Carrier needs a feature the call did not offer](https://docs.voicekit.cloud/errors/VK-21421.md): The carrier on your trunk answered 421 Extension Required. It needs a SIP feature that the call did not offer. - [VK-21422: Session timer too short](https://docs.voicekit.cloud/errors/VK-21422.md): The carrier on your trunk answered 422 Session Interval Too Small. The session timer of the call was shorter than it accepts. - [VK-21423: Registration interval too short](https://docs.voicekit.cloud/errors/VK-21423.md): The carrier on your trunk answered 423 Interval Too Brief. The requested interval was shorter than it accepts. - [VK-21424: Location information not accepted](https://docs.voicekit.cloud/errors/VK-21424.md): The carrier on your trunk answered 424 Bad Location Information. It could not use the location information of the call. - [VK-21428: Carrier requires a signed caller identity](https://docs.voicekit.cloud/errors/VK-21428.md): The carrier on your trunk answered 428 Use Identity Header. It only accepts calls with a signed caller identity. - [VK-21429: Carrier requires the transfer origin](https://docs.voicekit.cloud/errors/VK-21429.md): The carrier on your trunk answered 429 Provide Referrer Identity. It needs to know who started the transfer. - [VK-21430: Connection to the carrier failed](https://docs.voicekit.cloud/errors/VK-21430.md): The carrier on your trunk answered 430 Flow Failed. A connection on the path to the far end failed. - [VK-21433: Withheld caller ID not accepted](https://docs.voicekit.cloud/errors/VK-21433.md): The carrier on your trunk answered 433 Anonymity Disallowed. The far end does not accept calls with a withheld caller ID. - [VK-21436: Caller identity could not be checked](https://docs.voicekit.cloud/errors/VK-21436.md): The carrier on your trunk answered 436 Bad Identity-Info. It could not check the signed caller identity. - [VK-21437: Caller identity certificate not accepted](https://docs.voicekit.cloud/errors/VK-21437.md): The carrier on your trunk answered 437 Unsupported Certificate. It does not accept the certificate of the signed caller identity. - [VK-21438: Caller identity not valid](https://docs.voicekit.cloud/errors/VK-21438.md): The carrier on your trunk answered 438 Invalid Identity Header. The signed caller identity was not valid. - [VK-21439: Carrier connection not supported](https://docs.voicekit.cloud/errors/VK-21439.md): The carrier on your trunk answered 439 First Hop Lacks Outbound Support. It does not support the connection type the call used. - [VK-21440: Too many parallel attempts](https://docs.voicekit.cloud/errors/VK-21440.md): The carrier on your trunk answered 440 Max-Breadth Exceeded. The call forked to too many destinations. - [VK-21469: Carrier does not support an in-call message](https://docs.voicekit.cloud/errors/VK-21469.md): The carrier on your trunk answered 469 Bad Info Package. It does not support an in-call message the call sent. - [VK-21470: Consent needed](https://docs.voicekit.cloud/errors/VK-21470.md): The carrier on your trunk answered 470 Consent Needed. The far end needs consent before it takes the call. - [VK-21480: Person not available](https://docs.voicekit.cloud/errors/VK-21480.md): The carrier on your trunk answered 480 Temporarily Unavailable. The called person is not available right now. - [VK-21481: Carrier lost track of the call](https://docs.voicekit.cloud/errors/VK-21481.md): The carrier on your trunk answered 481 Call/Transaction Does Not Exist. It no longer knows about this call. - [VK-21482: Routing loop detected](https://docs.voicekit.cloud/errors/VK-21482.md): The carrier on your trunk answered 482 Loop Detected. The call came back to it in a loop. - [VK-21483: Too many hops](https://docs.voicekit.cloud/errors/VK-21483.md): The carrier on your trunk answered 483 Too Many Hops. The call passed through too many servers. - [VK-21484: Number incomplete](https://docs.voicekit.cloud/errors/VK-21484.md): The carrier on your trunk answered 484 Address Incomplete. The dialled number is incomplete. - [VK-21485: Number ambiguous](https://docs.voicekit.cloud/errors/VK-21485.md): The carrier on your trunk answered 485 Ambiguous. The dialled number matches more than one destination. - [VK-21486: Line busy](https://docs.voicekit.cloud/errors/VK-21486.md): The carrier on your trunk answered 486 Busy Here. The called line is busy. - [VK-21487: Call cancelled before an answer](https://docs.voicekit.cloud/errors/VK-21487.md): The carrier on your trunk answered 487 Request Terminated. The call was cancelled before it was answered. - [VK-21488: No common audio codec](https://docs.voicekit.cloud/errors/VK-21488.md): The carrier on your trunk answered 488 Not Acceptable Here. It could not agree on an audio codec with VoiceKit. - [VK-21489: Carrier does not support an event](https://docs.voicekit.cloud/errors/VK-21489.md): The carrier on your trunk answered 489 Bad Event. It does not support an event subscription the call used. - [VK-21491: Request clash](https://docs.voicekit.cloud/errors/VK-21491.md): The carrier on your trunk answered 491 Request Pending. Another request for the call was still pending. - [VK-21493: Encrypted request not readable](https://docs.voicekit.cloud/errors/VK-21493.md): The carrier on your trunk answered 493 Undecipherable. It could not decrypt part of the call request. - [VK-21494: Security agreement required](https://docs.voicekit.cloud/errors/VK-21494.md): The carrier on your trunk answered 494 Security Agreement Required. It requires a security agreement VoiceKit does not offer. - [VK-21500: Carrier had an internal error](https://docs.voicekit.cloud/errors/VK-21500.md): The carrier on your trunk answered 500 Server Internal Error. It had an internal error. - [VK-21501: Carrier does not support the request](https://docs.voicekit.cloud/errors/VK-21501.md): The carrier on your trunk answered 501 Not Implemented. It does not support this kind of request. - [VK-21502: Carrier gateway error](https://docs.voicekit.cloud/errors/VK-21502.md): The carrier on your trunk answered 502 Bad Gateway. A server on the carrier's side gave a bad response. - [VK-21503: Carrier temporarily unavailable](https://docs.voicekit.cloud/errors/VK-21503.md): The carrier on your trunk answered 503 Service Unavailable. It is overloaded or down for maintenance. - [VK-21504: Carrier timed out](https://docs.voicekit.cloud/errors/VK-21504.md): The carrier on your trunk answered 504 Server Time-out. A server on the carrier's side did not answer in time. - [VK-21505: SIP version not supported](https://docs.voicekit.cloud/errors/VK-21505.md): The carrier on your trunk answered 505 Version Not Supported. It does not support the SIP version of the request. - [VK-21513: Call request too large](https://docs.voicekit.cloud/errors/VK-21513.md): The carrier on your trunk answered 513 Message Too Large. The call request was larger than it accepts. - [VK-21555: Push notifications not supported](https://docs.voicekit.cloud/errors/VK-21555.md): The carrier on your trunk answered 555 Push Notification Service Not Supported. It does not support the push notification service requested. - [VK-21580: Call precondition failed](https://docs.voicekit.cloud/errors/VK-21580.md): The carrier on your trunk answered 580 Precondition Failure. A precondition of the call, such as media resources, could not be met. - [VK-21600: Busy everywhere](https://docs.voicekit.cloud/errors/VK-21600.md): The carrier on your trunk answered 600 Busy Everywhere. The called party is busy on every device. - [VK-21603: Call declined](https://docs.voicekit.cloud/errors/VK-21603.md): The carrier on your trunk answered 603 Decline. The called party declined the call. - [VK-21604: Number does not exist](https://docs.voicekit.cloud/errors/VK-21604.md): The carrier on your trunk answered 604 Does Not Exist Anywhere. The dialled number does not exist anywhere. - [VK-21606: Call setup not acceptable](https://docs.voicekit.cloud/errors/VK-21606.md): The carrier on your trunk answered 606 Not Acceptable. The far end cannot accept the call as set up, often because of codecs. - [VK-21607: Call marked as unwanted](https://docs.voicekit.cloud/errors/VK-21607.md): The carrier on your trunk answered 607 Unwanted. The called party marked the call as unwanted. - [VK-21608: Call rejected by the network](https://docs.voicekit.cloud/errors/VK-21608.md): The carrier on your trunk answered 608 Rejected. A server on the way rejected the call, often a spam filter. - [VK-29999: Unrecognised error](https://docs.voicekit.cloud/errors/VK-29999.md): The call ended with an unrecognised value, which VoiceKit does not recognise yet. - [VK-30001: No common audio codec](https://docs.voicekit.cloud/errors/VK-30001.md): The two sides of the call could not agree on an audio codec. - [VK-30002: Media timeout](https://docs.voicekit.cloud/errors/VK-30002.md): No audio arrived for too long, so the call was ended. - [VK-30003: No audio received](https://docs.voicekit.cloud/errors/VK-30003.md): the extension sent no audio during the call. - [VK-30004: One-way audio suspected](https://docs.voicekit.cloud/errors/VK-30004.md): Audio went only one way on this leg of the call. - [VK-30005: Poor call quality](https://docs.voicekit.cloud/errors/VK-30005.md): Call quality on this leg was low (estimated MOS an unrecognised value). - [VK-30006: Secure audio failed](https://docs.voicekit.cloud/errors/VK-30006.md): The encrypted audio stream (SRTP) could not be read. - [VK-40001: Flow step failed](https://docs.voicekit.cloud/errors/VK-40001.md): a step could not run. - [VK-40002: HTTP request timed out](https://docs.voicekit.cloud/errors/VK-40002.md): a step called your URL, which did not answer in time. - [VK-40003: HTTP request returned an error](https://docs.voicekit.cloud/errors/VK-40003.md): a step called your URL, which answered an error status. - [VK-40004: HTTP response is not valid JSON](https://docs.voicekit.cloud/errors/VK-40004.md): a step called your URL, which answered with JSON that could not be read. - [VK-40005: HTTP request blocked](https://docs.voicekit.cloud/errors/VK-40005.md): a step tried to call your URL, which is not an https URL on a public address. - [VK-40006: HTTP request could not connect](https://docs.voicekit.cloud/errors/VK-40006.md): a step could not connect to your URL. - [VK-40007: No input](https://docs.voicekit.cloud/errors/VK-40007.md): The caller pressed no keys at a step. - [VK-40008: Wrong key](https://docs.voicekit.cloud/errors/VK-40008.md): The caller pressed a key that a step does not offer. - [VK-40009: Flow step limit reached](https://docs.voicekit.cloud/errors/VK-40009.md): The flow ran too many steps for one call and was ended, which usually means a loop. - [VK-40010: Flow outcome not connected](https://docs.voicekit.cloud/errors/VK-40010.md): a step ended with an outcome that is not connected to another step, so the call was ended. - [VK-40011: Flow could not be read](https://docs.voicekit.cloud/errors/VK-40011.md): The published flow could not be read, so the call was ended. - [VK-50001: Concurrent call limit reached](https://docs.voicekit.cloud/errors/VK-50001.md): The account reached its limit of your plan's limit calls at the same time. - [VK-50002: Extension limit reached](https://docs.voicekit.cloud/errors/VK-50002.md): The account reached its limit of your plan's limit extensions. - [VK-50003: Included minutes used up](https://docs.voicekit.cloud/errors/VK-50003.md): The account used all of its included minutes. - [VK-50010: Outbound calls paused by fraud protection](https://docs.voicekit.cloud/errors/VK-50010.md): Outbound calls are paused because the account went over its fraud and spend limit of your plan's limit. - [VK-50011: International calls are off](https://docs.voicekit.cloud/errors/VK-50011.md): A call to the number was refused because international calls are turned off for this account. - [VK-50012: International call limit reached](https://docs.voicekit.cloud/errors/VK-50012.md): A call to the number was refused because your plan's limit international calls are already in progress. - [VK-50013: Fraud and spend limit almost reached](https://docs.voicekit.cloud/errors/VK-50013.md): The account used Some of its limit of your plan's limit. - [VK-60001: Webhook delivery failed](https://docs.voicekit.cloud/errors/VK-60001.md): VoiceKit could not connect to your URL. - [VK-60002: Webhook endpoint returned an error](https://docs.voicekit.cloud/errors/VK-60002.md): your URL answered an error status. - [VK-60003: Webhook delivery timed out](https://docs.voicekit.cloud/errors/VK-60003.md): your URL did not answer within 10 seconds. - [VK-60004: Webhook delivery gave up](https://docs.voicekit.cloud/errors/VK-60004.md): VoiceKit stopped retrying an event to your URL after every attempt failed. - [VK-60005: Webhook disabled after failures](https://docs.voicekit.cloud/errors/VK-60005.md): The webhook for your URL was disabled after failing for too long. - [VK-70001: Recording did not start](https://docs.voicekit.cloud/errors/VK-70001.md): The recording of the call could not be started. - [VK-70002: Recording file missing](https://docs.voicekit.cloud/errors/VK-70002.md): The recording finished but its audio file is missing or empty.