Places one outbound call. You name the number to call and one of your workspace’s phone numbers to call from; Verbeo dials the destination and connects your assistant. Dynamic variables you pass are filled into the assistant’s system prompt for this call, so you can personalize each call without creating separate assistants.
This is version 2 of the endpoint, and the one to build on. It answers the standard envelope every other resource uses. Version 1 (POST /calls) is unchanged and keeps working for integrations built on it.
Endpoint
POST https://api.verbeo.ai/v2/call
Body
string
required
The number to call, in E.164 format: +14155550123. Spaces, dashes and brackets are accepted and removed. Always send the + and the country code. A number without the + passes validation and is dialed exactly as sent, but Verbeo’s destination rules read it as if it began with +: a national number such as 808 555 0123 is then read as a +808 number and refused with 403, and whatever is not refused is left to your carrier to read.
string
required
The number to call from, exactly as it appears in your workspace (phone_number on the phone number object). It must be an active number of your workspace.
string
UUID of the assistant that handles the call. Optional — leave it out and the call uses the outbound assistant set on from_number. If that number has none either, the request is rejected.
object
Values for the {{variables}} in the assistant’s system prompt, by name. Every value must be a string. A name that starts with two underscores (__) is reserved: it is ignored, whatever it holds.
Settings of the assistant to change for this call only, in the same shape as the assistant’s config. Only the settings you send change: the others keep the assistant’s values, and the saved assistant never changes. Leave it out, or send null, to use the assistant as it is.
Setting
Type
What it changes
voice.voiceId
string
The voice: any voice the assistant’s voice.voiceId takes. A Fish Audio voice speaks on a text model; on Gemini 3.8 Live, or for caller languages Fish does not speak, the assistant speaks with the Gemini voice of the same gender.
language
string
The accent the assistant speaks English with: en or en-US (American), en-IN (Indian, which also suits Hindi or Hinglish). A Fish Audio voice keeps its own accent.
settings.voicemailDetection.enabled
boolean
Whether this outbound call listens for a voicemail. It is on unless the assistant turned it off: then send true with your action or message.
settings.voicemailDetection.action
string
What the assistant does on reaching a voicemail: hangup, or leave_message.
settings.voicemailDetection.message
string
The message it leaves, up to 500 characters and not blank. It is spoken only when the action, sent here or the assistant’s own, is leave_message. It takes this call’s {{variables}}.
settings.initialMessage.enabled
boolean
true: the assistant speaks first. false: it waits for the person to speak.
settings.callerLanguages
string[]
The languages the person speaks, most spoken first, up to 20, as codes from the Caller languages list, such as en-US, hi-IN or es-US. A code not on the list is refused, and the error lists them. [] clears the assistant’s list for this call.
settings.endCallOnSilence
boolean
Whether silenceTimeoutMinutes ends the call.
settings.silenceTimeoutMinutes
number
Minutes the person may stay silent before the call ends, up to 30. It ends the call only when endCallOnSilence is true, sent here or the assistant’s own, which may be off: send both. 0 turns it off.
settings.maxSilencePrompts
integer
How many times in a row, 0 to 10, the assistant checks that a silent person is still there. Without a silence timeout, a call where the person has not spoken at all ends once the last check goes unanswered. 0 turns off both the checks and that ending.
settings.maxCallDuration
number
The longest the call may last, in minutes: more than 0 and at most 30, the platform’s maximum. It may be shorter or longer than the assistant’s own maxCallDuration; the call is billed for the time it runs.
settings.webhookUrl
string
Where this call’s webhook events go, instead of the assistant’s URL: https:// to a public host, up to 2,048 characters. A member of your workspace sees only its host. If the assistant is deleted before an event goes, it is not sent, as with the assistant’s own URL.
settings.postCallAnalysis.enabled
boolean
Whether the call’s transcript is analysed after it ends. Send true with your fields when the assistant’s own analysis is off, as it is unless turned on.
settings.postCallAnalysis.fields
object[]
The fields the analysis pulls from this call, replacing the assistant’s whole list: 1 to 50 fields, at most 32,000 characters of JSON in all. Each is {"name", "description", "type", "required", "choices"}: name (up to 100 characters, not blank), description (up to 5,000) and type (string, enum, number or boolean) are required; required is true or false, and choices lists up to 50 values of up to 200 characters.
Nothing else can change for one call: the system prompt, tools, knowledge base and model stay the assistant’s. To change what the assistant says, use dynamic_variables.Refused with a 422 that names the field, rather than ignored:
a setting not in this table, or null for one (leave a setting out to keep the assistant’s);
an action or a message while voicemail detection is off for the call, and a message without leave_message;
analysis fields while post-call analysis is off for the call, and analysis turned on with no fields, its own or the assistant’s;
voicemailDetection as true or false: here it takes the object form only.
An agent_override of only empty objects, such as {} or {"settings": {}}, is the same as none. Other top-level keys of the body are ignored, as before: check the spelling of agent_override.
With initialMessage.enabled: false, no silence timeout and maxSilencePrompts: 0, a person who answers and waits hears nothing, and the call runs, and is billed, until maxCallDuration.
{ "settings": { "voicemailDetection": { "enabled": true, "action": "leave_message", "message": "Hi {{customer_name}}, this is Ava from Acme. Please call us back at 415-555-0100." } }}
The workspace comes from your API key, so the body names none.
The response returns immediately, as soon as the call is created — it does not wait for the destination to answer, and a 201 does not mean the phone rang. A call that then fails to connect (no answer, busy, a carrier error) is reported by its call_ended webhook. Track the outcome with the call_started, call_ended and call_analyzedwebhooks: their call_id is the id this endpoint returns.
A missing or malformed field — the message names it, e.g. to_number: must be a phone number in E.164 format, e.g. +14155550123. Also: an agent_override refused as described above; from_number is not an active number of your workspace; agent_id is not an assistant of your workspace; no agent_id was sent and the number has no outbound assistant; or, for a number imported by its Twilio credentials, Twilio refused the call — the message carries its reason.
PAYMENT_REQUIRED
402
Your balance is below what is needed to start a call. Add funds on the Billing page.
FORBIDDEN
403
A public (vbr_pub_…) key; billing is paused on the workspace; or calls to this destination are not permitted for the workspace.
TOO_MANY_REQUESTS
429
The concurrent-call limit is reached, or the day’s spending limit is reached. The concurrent-call limit is your workspace’s, counted across all of its calls; for a number imported by its Twilio credentials it is counted on that number’s calls alone. For such a number, also: the number is dialing at its calls-per-second limit, or Twilio is rate-limiting your account.
NOT_FOUND
404
The number or the assistant was deleted while the call was being placed. Also a body that names a workspace_id other than your key’s.
BAD_GATEWAY
502
The request to place the call failed on Verbeo’s or the carrier’s side, and the call may or may not have been created.
INTERNAL_ERROR
500
Unexpected failure before the call was created.
SERVICE_UNAVAILABLE
503
Outbound calling is paused on Verbeo’s side. Nothing is wrong with your account.
UNAUTHORIZED
401
Invalid, inactive or expired key. A request with no Authorization: Bearer vbr_… header is a 401 too, but outside the envelope: check the status first.
Retrying
Code
Retry?
Notes
TOO_MANY_REQUESTS
Yes, with a limit
Wait for a call to finish, or a moment for the dial rate, then send the same request. The daily spending limit does not clear until the next UTC day or until it is raised, so cap your retries.
SERVICE_UNAVAILABLE
Yes
Retry later; calls resume on their own.
BAD_GATEWAY
Check first
A call may already exist. Look for it in the call history, or for its call_started webhook if the assistant has a webhook URL, before you send the request again, or you may call the same person twice.
INTERNAL_ERROR
Yes
No call was created. Use exponential backoff.
PAYMENT_REQUIRED
After topping up
The same request goes through once the balance allows it.
VALIDATION_FAILED
No
Fix the request, then retry.
To personalize calls at scale, put placeholders like {{customer_name}} in your assistant’s system prompt and pass the values through dynamic_variables on each call.
Coming from version 1
Rename every field. Version 2 reads only its own names and ignores version 1’s without an error: a body that still sends agentId places the call with the number’s outbound assistant instead, and one that still sends dynamicVariables places it with no variables.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Verbeo","colors":{"primary":"#4464fc"},"logo":{"light":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939","dark":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/dark.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=d014b21fde129ebb2219a485d6866eb1"},"favicon":"https://mintcdn.com/verbeo/fXdZRNykS0gqhRTS/logo/favicon.svg?fit=max\u0026auto=format\u0026n=fXdZRNykS0gqhRTS\u0026q=85\u0026s=22d4421a25945d76ee153d154b360877","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.verbeo.ai/v1"}},"navbar":{"links":[{"href":"mailto:support@verbeo.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.verbeo.ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"verbeo","hasAudioNarration":false,"actualSubdomain":"verbeo","customDomains":["docs.verbeo.ai"],"gitSource":{"type":"github","owner":"harshsimplifygenai","repo":"verbeo-monorepo","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10e6779ffae5051c4137ab"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0ef817e432c02bc833f5f2","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Knowledge Bases","count":21},{"language":"default","tag":"Campaigns","count":14},{"language":"default","tag":"Files","count":12},{"language":"default","tag":"Phone Numbers","count":12},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Calls","count":10},{"language":"default","tag":"Tools","count":8},{"language":"default","tag":"Assistants","count":7},{"language":"default","tag":"Knowledge bases","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar{width:18rem}"}]}
{"page":{"pagePath":"api-reference/calls/create","slug":"/api-reference/calls/create","pageMetadata":{"title":"Create phone call","sidebarTitle":"Create phone call","description":"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.","api":"POST https://api.verbeo.ai/v2/call","href":"/api-reference/calls/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,ParamField,ResponseField,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Places one outbound call. You name the number to call and one of your workspace’s `,_jsx(_components.a,{href:`/api-reference/phone-numbers/overview`,children:`phone numbers`}),` to call from; Verbeo dials the destination and connects your assistant. Dynamic variables you pass are filled into the assistant’s system prompt for this call, so you can personalize each call without creating separate assistants.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This is `,_jsx(_components.strong,{children:`version 2`}),` of the endpoint, and the one to build on. It answers the `,_jsx(_components.a,{href:`/api-reference/responses`,children:`standard envelope`}),` every other resource uses. `,_jsx(_components.a,{href:`/api-reference/calls/initiate`,children:`Version 1`}),` (`,_jsx(_components.code,{children:`POST /calls`}),`) is unchanged and keeps working for integrations built on it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.verbeo.ai/v2/call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`to_number`,type:`string`,required:true,id:`param-to-number`,children:_jsxs(_components.p,{children:[`The number to call, in E.164 format: `,_jsx(_components.code,{children:`+14155550123`}),`. Spaces, dashes and brackets are accepted and removed. Always send the `,_jsx(_components.code,{children:`+`}),` and the country code. A number without the `,_jsx(_components.code,{children:`+`}),` passes validation and is dialed exactly as sent, but Verbeo’s destination rules read it as if it began with `,_jsx(_components.code,{children:`+`}),`: a national number such as `,_jsx(_components.code,{children:`808 555 0123`}),` is then read as a `,_jsx(_components.code,{children:`+808`}),` number and refused with `,_jsx(_components.code,{children:`403`}),`, and whatever is not refused is left to your carrier to read.`]})}),`\n`,_jsx(ParamField,{body:`from_number`,type:`string`,required:true,id:`param-from-number`,children:_jsxs(_components.p,{children:[`The number to call from, exactly as it appears in your workspace (`,_jsx(_components.code,{children:`phone_number`}),` on `,_jsx(_components.a,{href:`/api-reference/phone-numbers/overview#the-phone-number-object`,children:`the phone number object`}),`). It must be an active number of your workspace.`]})}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,id:`param-agent-id`,children:_jsxs(_components.p,{children:[`UUID of the assistant that handles the call. Optional — leave it out and the call uses the outbound assistant set on `,_jsx(_components.code,{children:`from_number`}),`. If that number has none either, the request is rejected.`]})}),`\n`,_jsxs(ParamField,{body:`dynamic_variables`,type:`object`,id:`param-dynamic-variables`,children:[_jsxs(_components.p,{children:[`Values for the `,_jsx(_components.code,{children:`{{variables}}`}),` in the assistant’s system prompt, by name. Every value must be a string. A name that starts with two underscores (`,_jsx(_components.code,{children:`__`}),`) is reserved: it is ignored, whatever it holds.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORD-98765\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsxs(ParamField,{body:`agent_override`,type:`object`,id:`param-agent-override`,children:[_jsxs(_components.p,{children:[`Settings of the assistant to change for this call only, in the same shape as the assistant’s `,_jsx(_components.a,{href:`/api-reference/assistants/overview`,children:_jsx(_components.code,{children:`config`})}),`. Only the settings you send change: the others keep the assistant’s values, and the saved assistant never changes. Leave it out, or send `,_jsx(_components.code,{children:`null`}),`, to use the assistant as it is.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`What it changes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`voice.voiceId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The voice: any voice the assistant’s `,_jsx(_components.a,{href:`/api-reference/assistants/overview`,children:_jsx(_components.code,{children:`voice.voiceId`})}),` takes. A Fish Audio voice speaks on a text model; on Gemini 3.8 Live, or for caller languages Fish does not speak, the assistant speaks with the Gemini voice of the same gender.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`language`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The accent the assistant speaks English with: `,_jsx(_components.code,{children:`en`}),` or `,_jsx(_components.code,{children:`en-US`}),` (American), `,_jsx(_components.code,{children:`en-IN`}),` (Indian, which also suits Hindi or Hinglish). A Fish Audio voice keeps its own accent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.voicemailDetection.enabled`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Whether this outbound call listens for a voicemail. It is on unless the assistant turned it off: then send `,_jsx(_components.code,{children:`true`}),` with your `,_jsx(_components.code,{children:`action`}),` or `,_jsx(_components.code,{children:`message`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.voicemailDetection.action`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`What the assistant does on reaching a voicemail: `,_jsx(_components.code,{children:`hangup`}),`, or `,_jsx(_components.code,{children:`leave_message`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.voicemailDetection.message`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The message it leaves, up to 500 characters and not blank. It is spoken only when the action, sent here or the assistant’s own, is `,_jsx(_components.code,{children:`leave_message`}),`. It takes this call’s `,_jsx(_components.code,{children:`{{variables}}`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.initialMessage.enabled`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),`: the assistant speaks first. `,_jsx(_components.code,{children:`false`}),`: it waits for the person to speak.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.callerLanguages`})}),_jsx(_components.td,{children:`string[]`}),_jsxs(_components.td,{children:[`The languages the person speaks, most spoken first, up to 20, as codes from the `,_jsx(_components.strong,{children:`Caller languages`}),` list, such as `,_jsx(_components.code,{children:`en-US`}),`, `,_jsx(_components.code,{children:`hi-IN`}),` or `,_jsx(_components.code,{children:`es-US`}),`. A code not on the list is refused, and the error lists them. `,_jsx(_components.code,{children:`[]`}),` clears the assistant’s list for this call.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.endCallOnSilence`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Whether `,_jsx(_components.code,{children:`silenceTimeoutMinutes`}),` ends the call.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.silenceTimeoutMinutes`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[`Minutes the person may stay silent before the call ends, up to `,_jsx(_components.code,{children:`30`}),`. It ends the call only when `,_jsx(_components.code,{children:`endCallOnSilence`}),` is `,_jsx(_components.code,{children:`true`}),`, sent here or the assistant’s own, which may be off: send both. `,_jsx(_components.code,{children:`0`}),` turns it off.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.maxSilencePrompts`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`How many times in a row, `,_jsx(_components.code,{children:`0`}),` to `,_jsx(_components.code,{children:`10`}),`, the assistant checks that a silent person is still there. Without a silence timeout, a call where the person has not spoken at all ends once the last check goes unanswered. `,_jsx(_components.code,{children:`0`}),` turns off both the checks and that ending.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.maxCallDuration`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[`The longest the call may last, in minutes: more than `,_jsx(_components.code,{children:`0`}),` and at most `,_jsx(_components.code,{children:`30`}),`, the platform’s maximum. It may be shorter or longer than the assistant’s own `,_jsx(_components.code,{children:`maxCallDuration`}),`; the call is billed for the time it runs.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.webhookUrl`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Where this call’s `,_jsx(_components.a,{href:`/api-reference/webhooks/events`,children:`webhook events`}),` go, instead of the assistant’s URL: `,_jsx(_components.code,{children:`https://`}),` to a public host, up to 2,048 characters. A member of your workspace sees only its host. If the assistant is deleted before an event goes, it is not sent, as with the assistant’s own URL.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.postCallAnalysis.enabled`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Whether the call’s transcript is analysed after it ends. Send `,_jsx(_components.code,{children:`true`}),` with your `,_jsx(_components.code,{children:`fields`}),` when the assistant’s own analysis is off, as it is unless turned on.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`settings.postCallAnalysis.fields`})}),_jsx(_components.td,{children:`object[]`}),_jsxs(_components.td,{children:[`The fields the analysis pulls from this call, replacing the assistant’s whole list: 1 to 50 fields, at most 32,000 characters of JSON in all. Each is `,_jsx(_components.code,{children:`{\"name\", \"description\", \"type\", \"required\", \"choices\"}`}),`: `,_jsx(_components.code,{children:`name`}),` (up to 100 characters, not blank), `,_jsx(_components.code,{children:`description`}),` (up to 5,000) and `,_jsx(_components.code,{children:`type`}),` (`,_jsx(_components.code,{children:`string`}),`, `,_jsx(_components.code,{children:`enum`}),`, `,_jsx(_components.code,{children:`number`}),` or `,_jsx(_components.code,{children:`boolean`}),`) are required; `,_jsx(_components.code,{children:`required`}),` is `,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`, and `,_jsx(_components.code,{children:`choices`}),` lists up to 50 values of up to 200 characters.`]})]})]})]}),_jsxs(_components.p,{children:[`Nothing else can change for one call: the system prompt, tools, knowledge base and model stay the assistant’s. To change what the assistant says, use `,_jsx(_components.code,{children:`dynamic_variables`}),`.`]}),_jsxs(_components.p,{children:[`Refused with a `,_jsx(_components.code,{children:`422`}),` that names the field, rather than ignored:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`a setting not in this table, or `,_jsx(_components.code,{children:`null`}),` for one (leave a setting out to keep the assistant’s);`]}),`\n`,_jsxs(_components.li,{children:[`an `,_jsx(_components.code,{children:`action`}),` or a `,_jsx(_components.code,{children:`message`}),` while voicemail detection is off for the call, and a `,_jsx(_components.code,{children:`message`}),` without `,_jsx(_components.code,{children:`leave_message`}),`;`]}),`\n`,_jsxs(_components.li,{children:[`analysis `,_jsx(_components.code,{children:`fields`}),` while post-call analysis is off for the call, and analysis turned on with no fields, its own or the assistant’s;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`voicemailDetection`}),` as `,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`: here it takes the object form only.`]}),`\n`]}),_jsxs(_components.p,{children:[`An `,_jsx(_components.code,{children:`agent_override`}),` of only empty objects, such as `,_jsx(_components.code,{children:`{}`}),` or `,_jsx(_components.code,{children:`{\"settings\": {}}`}),`, is the same as none. Other top-level keys of the body are ignored, as before: check the spelling of `,_jsx(_components.code,{children:`agent_override`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`initialMessage.enabled: false`}),`, no silence timeout and `,_jsx(_components.code,{children:`maxSilencePrompts: 0`}),`, a person who answers and waits hears nothing, and the call runs, and is billed, until `,_jsx(_components.code,{children:`maxCallDuration`}),`.`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voicemailDetection\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"leave_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi {{customer_name}}, this is Ava from Acme. Please call us back at 415-555-0100.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`The workspace comes from your API key, so the body names none.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The response returns `,_jsx(_components.strong,{children:`immediately`}),`, as soon as the call is created — it does not wait for the destination to answer, and a `,_jsx(_components.code,{children:`201`}),` does not mean the phone rang. A call that then fails to connect (no answer, busy, a carrier error) is reported by its `,_jsx(_components.code,{children:`call_ended`}),` webhook. Track the outcome with the `,_jsx(_components.code,{children:`call_started`}),`, `,_jsx(_components.code,{children:`call_ended`}),` and `,_jsx(_components.code,{children:`call_analyzed`}),` `,_jsx(_components.a,{href:`/guides/webhooks`,children:`webhooks`}),`: their `,_jsx(_components.code,{children:`call_id`}),` is the `,_jsx(_components.code,{children:`id`}),` this endpoint returns.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v2/call\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_number\": \"+14155550123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_number\": \"+14155550100\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"550e8400-e29b-41d4-a716-446655440000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dynamic_variables\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_name\": \"Jane Smith\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order_id\": \"ORD-98765\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Use the number's outbound assistant`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v2/call\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_number\": \"+14155550123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_number\": \"+14155550100\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Leave a voicemail on this call`,numberOfLines:`18`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v2/call\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_number\": \"+14155550123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_number\": \"+14155550100\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"550e8400-e29b-41d4-a716-446655440000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dynamic_variables\": { \"customer_name\": \"Jane Smith\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_override\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"settings\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"voicemailDetection\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"action\": \"leave_message\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"message\": \"Hi {{customer_name}}, this is Ava from Acme. Please call us back at 415-555-0100.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.verbeo.ai/v2/call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`VERBEO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` to_number:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"+14155550123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` from_number:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"+14155550100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dynamic_variables:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` customer_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Jane Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` order_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ORD-98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` body`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`code`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` call`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v2/call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'VERBEO_API_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+14155550123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+14155550100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dynamic_variables\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORD-98765\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`body `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` not`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.ok:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` error `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` RuntimeError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res.status_code`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`error.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'code'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`error.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'message'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`call `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201 Created`}),` as soon as the call is created.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"queued\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+14155550123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+14155550100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"agent_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer Support\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`UUID of the call. It is the `,_jsx(_components.code,{children:`call_id`}),` of the call’s `,_jsx(_components.a,{href:`/api-reference/webhooks/events`,children:`webhook events`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`The status the call starts in: `,_jsx(_components.code,{children:`queued`}),` — it has been created and is being placed.`]})}),`\n`,_jsx(ResponseField,{name:`to_number`,type:`string`,required:true,id:`param-to-number-1`,children:_jsx(_components.p,{children:`The number dialed, without the separators you may have sent.`})}),`\n`,_jsx(ResponseField,{name:`from_number`,type:`string`,required:true,id:`param-from-number-1`,children:_jsx(_components.p,{children:`The number the call is placed from.`})}),`\n`,_jsx(ResponseField,{name:`agent_id`,type:`string`,required:true,id:`param-agent-id-1`,children:_jsx(_components.p,{children:`UUID of the assistant on the call — the one you named, or the number’s outbound assistant.`})}),`\n`,_jsx(ResponseField,{name:`agent_name`,type:`string`,required:true,id:`param-agent-name`,children:_jsx(_components.p,{children:`That assistant’s name.`})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Every error uses the `,_jsx(_components.a,{href:`/api-reference/errors`,children:`standard error envelope`}),`. Branch on `,_jsx(_components.code,{children:`error.code`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`A missing or malformed field — the message names it, e.g. `,_jsx(_components.code,{children:`to_number: must be a phone number in E.164 format, e.g. +14155550123`}),`. Also: an `,_jsx(_components.code,{children:`agent_override`}),` refused as described above; `,_jsx(_components.code,{children:`from_number`}),` is not an active number of your workspace; `,_jsx(_components.code,{children:`agent_id`}),` is not an assistant of your workspace; no `,_jsx(_components.code,{children:`agent_id`}),` was sent and the number has no outbound assistant; or, for a number imported by its Twilio credentials, Twilio refused the call — the message carries its reason.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PAYMENT_REQUIRED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsxs(_components.td,{children:[`Your balance is below what is needed to start a call. Add funds on the `,_jsx(_components.strong,{children:`Billing`}),` page.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsxs(_components.td,{children:[`A public (`,_jsx(_components.code,{children:`vbr_pub_…`}),`) key; billing is paused on the workspace; or calls to this destination are not permitted for the workspace.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TOO_MANY_REQUESTS`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:`The concurrent-call limit is reached, or the day’s spending limit is reached. The concurrent-call limit is your workspace’s, counted across all of its calls; for a number imported by its Twilio credentials it is counted on that number’s calls alone. For such a number, also: the number is dialing at its calls-per-second limit, or Twilio is rate-limiting your account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_FOUND`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsxs(_components.td,{children:[`The number or the assistant was deleted while the call was being placed. Also a body that names a `,_jsx(_components.code,{children:`workspace_id`}),` other than your key’s.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_GATEWAY`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`502`}),_jsxs(_components.td,{children:[`The request to place the call failed on Verbeo’s or the carrier’s side, and the call `,_jsx(_components.strong,{children:`may or may not`}),` have been created.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Unexpected failure before the call was created.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVICE_UNAVAILABLE`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:`Outbound calling is paused on Verbeo’s side. Nothing is wrong with your account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsxs(_components.td,{children:[`Invalid, inactive or expired key. A request with no `,_jsx(_components.code,{children:`Authorization: Bearer vbr_…`}),` header is a `,_jsx(_components.code,{children:`401`}),` too, but `,_jsx(_components.a,{href:`/api-reference/errors`,children:`outside the envelope`}),`: check the status first.`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`retrying`,children:`Retrying`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Retry?`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TOO_MANY_REQUESTS`})}),_jsx(_components.td,{children:`Yes, with a limit`}),_jsx(_components.td,{children:`Wait for a call to finish, or a moment for the dial rate, then send the same request. The daily spending limit does not clear until the next UTC day or until it is raised, so cap your retries.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVICE_UNAVAILABLE`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Retry later; calls resume on their own.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_GATEWAY`})}),_jsx(_components.td,{children:`Check first`}),_jsxs(_components.td,{children:[`A call may already exist. Look for it in the `,_jsx(_components.a,{href:`/api-reference/calls/list-v2`,children:`call history`}),`, or for its `,_jsx(_components.code,{children:`call_started`}),` webhook if the assistant has a webhook URL, before you send the request again, or you may call the same person twice.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`No call was created. Use exponential backoff.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PAYMENT_REQUIRED`})}),_jsx(_components.td,{children:`After topping up`}),_jsx(_components.td,{children:`The same request goes through once the balance allows it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Fix the request, then retry.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To personalize calls at scale, put placeholders like `,_jsx(_components.code,{children:`{{customer_name}}`}),` in your assistant’s system prompt and pass the values through `,_jsx(_components.code,{children:`dynamic_variables`}),` on each call.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`coming-from-version-1`,children:`Coming from version 1`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Rename every field. Version 2 reads only its own names and ignores version 1’s without an error: a body that still sends `,_jsx(_components.code,{children:`agentId`}),` places the call with the number’s outbound assistant instead, and one that still sends `,_jsx(_components.code,{children:`dynamicVariables`}),` places it with no variables.`]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsxs(_components.th,{children:[`Version 1 — `,_jsx(_components.code,{children:`POST /calls`})]}),_jsxs(_components.th,{children:[`Version 2 — `,_jsx(_components.code,{children:`POST /v2/call`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Body fields`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`toNumber`}),`, `,_jsx(_components.code,{children:`fromNumber`}),`, `,_jsx(_components.code,{children:`agentId`}),`, `,_jsx(_components.code,{children:`dynamicVariables`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`to_number`}),`, `,_jsx(_components.code,{children:`from_number`}),`, `,_jsx(_components.code,{children:`agent_id`}),`, `,_jsx(_components.code,{children:`dynamic_variables`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Success`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`201`}),` with the fields at the top level: `,_jsx(_components.code,{children:`{ \"success\": true, \"callId\": \"…\", … }`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`201`}),` with the call under `,_jsx(_components.code,{children:`data`}),`: `,_jsx(_components.code,{children:`{ \"success\": true, \"data\": { \"id\": \"…\", … } }`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The call’s id`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`callId`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`data.id`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Errors`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"…\", \"details\": \"…\" }`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"success\": false, \"error\": { \"code\": \"…\", \"message\": \"…\" } }`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A bad field`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`422 VALIDATION_FAILED`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A number or assistant that is not yours`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`422 VALIDATION_FAILED`}),`, naming the field`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The concurrent-call limit, for a number imported by its Twilio credentials`}),_jsx(_components.td,{children:`Counted across the workspace’s calls`}),_jsx(_components.td,{children:`Counted on that number’s calls`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create phone call","sidebarTitle":"Create phone call","description":"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.","api":"POST https://api.verbeo.ai/v2/call","href":"/api-reference/calls/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[{"title":"Retrying","slug":"retrying","depth":3,"children":[]}]},{"title":"Coming from version 1","slug":"coming-from-version-1","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create phone call","path":"/v2/call","servers":[{"url":"https://api.verbeo.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"to_number":[{"type":"string","description":"The number to call, in E.164 format: `+14155550123` . Spaces, dashes and brackets are accepted and removed. Always send the `+` and the country code. A number without the `+` passes validation and is dialed exactly as sent, but Verbeo’s destination rules read it as if it began with `+` : a national number such as `808 555 0123` is then read as a `+808` number and refused with `403` , and whatever is not refused is left to your carrier to read.","required":true}],"from_number":[{"type":"string","description":"The number to call from, exactly as it appears in your workspace ( `phone_number` on the phone number object ). It must be an active number of your workspace.","required":true}],"agent_id":[{"type":"string","description":"UUID of the assistant that handles the call. Optional — leave it out and the call uses the outbound assistant set on `from_number` . If that number has none either, the request is rejected."}],"dynamic_variables":[{"type":"object","properties":{},"description":"Values for the `{{variables}}` in the assistant’s system prompt, by name. Every value must be a string. A name that starts with two underscores ( `__` ) is reserved: it is ignored, whatever it holds."}],"agent_override":[{"type":"object","properties":{},"description":"Settings of the assistant to change for this call only, in the same shape as the assistant’s `config` . Only the settings you send change: the others keep the assistant’s values, and the saved assistant never changes. Leave it out, or send `null` , to use the assistant as it is. Setting Type What it changes `voice.voiceId` string The voice: any voice the assistant’s `voice.voiceId` takes. A Fish Audio voice speaks on a text model; on Gemini 3.8 Live, or for caller languages Fish does not speak, the assistant speaks with the Gemini voice of the same gender. `language` string The accent the assistant speaks English with: `en` or `en-US` (American), `en-IN` (Indian, which also suits Hindi or Hinglish). A Fish Audio voice keeps its own accent. `settings.voicemailDetection.enabled` boolean Whether this outbound call listens for a voicemail. It is on unless the assistant turned it off: then send `true` with your `action` or `message` . `settings.voicemailDetection.action` string What the assistant does on reaching a voicemail: `hangup` , or `leave_message` . `settings.voicemailDetection.message` string The message it leaves, up to 500 characters and not blank. It is spoken only when the action, sent here or the assistant’s own, is `leave_message` . It takes this call’s `{{variables}}` . `settings.initialMessage.enabled` boolean `true` : the assistant speaks first. `false` : it waits for the person to speak. `settings.callerLanguages` string[] The languages the person speaks, most spoken first, up to 20, as codes from the Caller languages list, such as `en-US` , `hi-IN` or `es-US` . A code not on the list is refused, and the error lists them. `[]` clears the assistant’s list for this call. `settings.endCallOnSilence` boolean Whether `silenceTimeoutMinutes` ends the call. `settings.silenceTimeoutMinutes` number Minutes the person may stay silent before the call ends, up to `30` . It ends the call only when `endCallOnSilence` is `true` , sent here or the assistant’s own, which may be off: send both. `0` turns it off. `settings.maxSilencePrompts` integer How many times in a row, `0` to `10` , the assistant checks that a silent person is still there. Without a silence timeout, a call where the person has not spoken at all ends once the last check goes unanswered. `0` turns off both the checks and that ending. `settings.maxCallDuration` number The longest the call may last, in minutes: more than `0` and at most `30` , the platform’s maximum. It may be shorter or longer than the assistant’s own `maxCallDuration` ; the call is billed for the time it runs. `settings.webhookUrl` string Where this call’s webhook events go, instead of the assistant’s URL: `https://` to a public host, up to 2,048 characters. A member of your workspace sees only its host. If the assistant is deleted before an event goes, it is not sent, as with the assistant’s own URL. `settings.postCallAnalysis.enabled` boolean Whether the call’s transcript is analysed after it ends. Send `true` with your `fields` when the assistant’s own analysis is off, as it is unless turned on. `settings.postCallAnalysis.fields` object[] The fields the analysis pulls from this call, replacing the assistant’s whole list: 1 to 50 fields, at most 32,000 characters of JSON in all. Each is `{\"name\", \"description\", \"type\", \"required\", \"choices\"}` : `name` (up to 100 characters, not blank), `description` (up to 5,000) and `type` ( `string` , `enum` , `number` or `boolean` ) are required; `required` is `true` or `false` , and `choices` lists up to 50 values of up to 200 characters. Nothing else can change for one call: the system prompt, tools, knowledge base and model stay the assistant’s. To change what the assistant says, use `dynamic_variables` . Refused with a `422` that names the field, rather than ignored: a setting not in this table, or `null` for one (leave a setting out to keep the assistant’s); an `action` or a `message` while voicemail detection is off for the call, and a `message` without `leave_message` ; analysis `fields` while post-call analysis is off for the call, and analysis turned on with no fields, its own or the assistant’s; `voicemailDetection` as `true` or `false` : here it takes the object form only. An `agent_override` of only empty objects, such as `{}` or `{\"settings\": {}}` , is the same as none. Other top-level keys of the body are ignored, as before: check the spelling of `agent_override` ."}]}}],"examples":{"example":{"value":{"to_number":"\u003cstring>","from_number":"\u003cstring>","agent_id":"\u003cstring>","dynamic_variables":{},"agent_override":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"UUID of the call. It is the `call_id` of the call’s webhook events .","required":true}],"status":[{"type":"string","description":"The status the call starts in: `queued` — it has been created and is being placed.","required":true}],"to_number":[{"type":"string","description":"The number dialed, without the separators you may have sent.","required":true}],"from_number":[{"type":"string","description":"The number the call is placed from.","required":true}],"agent_id":[{"type":"string","description":"UUID of the assistant on the call — the one you named, or the number’s outbound assistant.","required":true}],"agent_name":[{"type":"string","description":"That assistant’s name.","required":true}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","status":"\u003cstring>","to_number":"\u003cstring>","from_number":"\u003cstring>","agent_id":"\u003cstring>","agent_name":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"verbeo","siteName":"Verbeo","title":"Create phone call - Verbeo","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T16:39:24.065Z","originalFileLocation":"api-reference/calls/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create phone call - Verbeo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verbeo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verbeo.ai/api-reference/calls/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Create+phone+call\u0026amp;description=Place+an+outbound+phone+call+with+an+AI+voice+agent+from+one+of+your+phone+numbers.+Pass+dynamic+variables+to+personalize+each+call.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=432a56dcc11628272be8da7e8e6d771eb4783c29c4f52e46be413f043a783591\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create phone call - Verbeo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Create+phone+call\u0026amp;description=Place+an+outbound+phone+call+with+an+AI+voice+agent+from+one+of+your+phone+numbers.+Pass+dynamic+variables+to+personalize+each+call.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=432a56dcc11628272be8da7e8e6d771eb4783c29c4f52e46be413f043a783591\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4464fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verbeo.ai/api-reference/calls/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calls/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verbeo.ai/#organization\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verbeo.ai#website\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verbeo.ai/api-reference/calls/create#webpage\",\"url\":\"https://docs.verbeo.ai/api-reference/calls/create\",\"name\":\"Create phone call\",\"description\":\"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\",\"dateModified\":\"2026-12-01T16:39:24.065Z\",\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbeo.ai/api-reference/calls/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbeo.ai/api-reference/calls/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Verbeo\",\"item\":\"https://docs.verbeo.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create phone call\",\"item\":\"https://docs.verbeo.ai/api-reference/calls/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbeo.ai/api-reference/calls/create#apireference\",\"headline\":\"Create phone call\",\"name\":\"Create phone call\",\"description\":\"Place an outbound phone call with an AI voice agent from one of your phone numbers. Pass dynamic variables to personalize each call.\",\"url\":\"https://docs.verbeo.ai/api-reference/calls/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbeo.ai/api-reference/calls/create#webpage\"},\"dateModified\":\"2026-12-01T16:39:24.065Z\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verbeo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verbeo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/calls/create.md","siteName":"Verbeo","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Verbeo REST API overview","href":"/api-reference/overview"},{"title":"API authentication and keys","href":"/api-reference/authentication"},{"title":"Responses","href":"/api-reference/responses"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Assistants","icon":"robot","pages":[{"title":"Assistants","sidebarTitle":"Overview","href":"/api-reference/assistants/overview"},{"title":"List assistants","sidebarTitle":"List assistants","api":"POST /assistant/list","href":"/api-reference/assistants/list"},{"title":"Create assistant","sidebarTitle":"Create assistant","api":"POST /assistant","href":"/api-reference/assistants/create"},{"title":"Get assistant","sidebarTitle":"Get assistant","api":"GET /assistant/{id}","href":"/api-reference/assistants/get"},{"title":"Update assistant","sidebarTitle":"Update assistant","api":"PATCH /assistant/{id}","href":"/api-reference/assistants/update"},{"title":"Replace assistant","sidebarTitle":"Replace assistant","api":"PUT /assistant/{id}","href":"/api-reference/assistants/replace"},{"title":"Delete assistant","sidebarTitle":"Delete assistant","api":"DELETE /assistant/{id}","href":"/api-reference/assistants/delete"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/api-reference/tools/overview"},{"title":"List tools","sidebarTitle":"List tools","api":"POST /tool/list","href":"/api-reference/tools/list"},{"title":"Get tool","sidebarTitle":"Get tool","api":"GET /tool/{id}","href":"/api-reference/tools/get"},{"title":"Create custom tool","sidebarTitle":"Create custom tool","api":"POST /tool/custom","href":"/api-reference/tools/create-custom"},{"title":"Update custom tool","sidebarTitle":"Update custom tool","api":"PUT /tool/custom/{id}","href":"/api-reference/tools/update-custom"},{"title":"Create native tool","sidebarTitle":"Create native tool","api":"POST /tool/native","href":"/api-reference/tools/create-native"},{"title":"Update native tool","sidebarTitle":"Update native tool","api":"PUT /tool/native/{id}","href":"/api-reference/tools/update-native"},{"title":"Delete tool","sidebarTitle":"Delete tool","api":"DELETE /tool/{id}","href":"/api-reference/tools/delete"}]},{"group":"Knowledge Bases","icon":"book","pages":[{"title":"Knowledge Bases","sidebarTitle":"Overview","href":"/api-reference/knowledge-bases/overview"},{"group":"Knowledge bases","pages":[{"title":"List knowledge bases","sidebarTitle":"List knowledge bases","api":"GET /knowledge-base","href":"/api-reference/knowledge-bases/list"},{"title":"Create knowledge base","sidebarTitle":"Create knowledge base","api":"POST /knowledge-base","href":"/api-reference/knowledge-bases/create"},{"title":"Get knowledge base","sidebarTitle":"Get knowledge base","api":"GET /knowledge-base/{id}","href":"/api-reference/knowledge-bases/get"},{"title":"Update description","sidebarTitle":"Update description","api":"PUT /knowledge-base/{id}","href":"/api-reference/knowledge-bases/update"},{"title":"Write description from files","sidebarTitle":"Write description","api":"POST /knowledge-base/{id}/description","href":"/api-reference/knowledge-bases/write-description"},{"title":"Delete knowledge base","sidebarTitle":"Delete knowledge base","api":"DELETE /knowledge-base/{id}","href":"/api-reference/knowledge-bases/delete"},{"title":"Usage and limits","sidebarTitle":"Usage and limits","api":"GET /knowledge-base/usage","href":"/api-reference/knowledge-bases/usage"}]},{"group":"Files","pages":[{"title":"List files","sidebarTitle":"List files","api":"GET /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/list-files"},{"title":"Upload files","sidebarTitle":"Upload files","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-files"},{"title":"Upload through a link","sidebarTitle":"Upload through a link","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-link"},{"title":"Add text or FAQs","sidebarTitle":"Add text or FAQs","api":"POST /knowledge-base/{id}/texts","href":"/api-reference/knowledge-bases/add-text"},{"title":"Get file","sidebarTitle":"Get file","api":"GET /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/get-file"},{"title":"Replace file","sidebarTitle":"Replace file","api":"POST /knowledge-base/files/{fileId}/replace","href":"/api-reference/knowledge-bases/replace-file"},{"title":"Edit a text or FAQ list","sidebarTitle":"Edit text or FAQs","api":"PUT /knowledge-base/files/{fileId}/text","href":"/api-reference/knowledge-bases/edit-text"},{"title":"Retry failed files","sidebarTitle":"Retry failed files","api":"POST /knowledge-base/{id}/files/retry","href":"/api-reference/knowledge-bases/retry-files"},{"title":"Download file","sidebarTitle":"Download file","api":"GET /knowledge-base/files/{fileId}/download","href":"/api-reference/knowledge-bases/download"},{"title":"File passages","sidebarTitle":"File passages","api":"GET /knowledge-base/files/{fileId}/passages","href":"/api-reference/knowledge-bases/passages"},{"title":"Delete file","sidebarTitle":"Delete file","api":"DELETE /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/delete-file"},{"title":"Delete files","sidebarTitle":"Delete files","api":"POST /knowledge-base/{id}/files/delete","href":"/api-reference/knowledge-bases/delete-files"}]},{"title":"Test a search","sidebarTitle":"Test a search","api":"POST /knowledge-base/search","href":"/api-reference/knowledge-bases/search"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/api-reference/phone-numbers/overview"},{"title":"List phone numbers","sidebarTitle":"List phone numbers","api":"POST /phone-number/list","href":"/api-reference/phone-numbers/list"},{"title":"Get phone number","sidebarTitle":"Get phone number","api":"GET /phone-number/{id}","href":"/api-reference/phone-numbers/get"},{"title":"Connect a SIP-trunk number","sidebarTitle":"Connect SIP trunk","api":"POST /phone-number/sip","href":"/api-reference/phone-numbers/connect-sip"},{"title":"Import a Twilio number","sidebarTitle":"Import Twilio number","api":"POST /phone-number/twilio","href":"/api-reference/phone-numbers/import-twilio"},{"title":"Configure a Twilio number's webhook","sidebarTitle":"Configure Twilio webhook","api":"POST /phone-number/{id}/twilio-webhook","href":"/api-reference/phone-numbers/twilio-webhook"},{"title":"Update phone number","sidebarTitle":"Update phone number","api":"PUT /phone-number/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Delete phone number","sidebarTitle":"Delete phone number","description":"Disconnect a phone number from Verbeo. Its call history and finished campaigns are kept; a campaign that can still dial from it blocks the delete.","api":"DELETE /phone-number/{id}","href":"/api-reference/phone-numbers/delete"}]},{"group":"Calls","icon":"phone-volume","pages":[{"title":"Create phone call","sidebarTitle":"Create phone call","api":"POST https://api.verbeo.ai/v2/call","href":"/api-reference/calls/create"},{"title":"List calls","sidebarTitle":"List calls","description":"Page through your workspace's call history, newest first, filtered by type, assistant, campaign, number, date, duration, cost or how the call ended.","api":"POST https://api.verbeo.ai/v2/call/list","href":"/api-reference/calls/list-v2"},{"title":"Get call","sidebarTitle":"Get call","api":"GET https://api.verbeo.ai/v2/call/{id}","href":"/api-reference/calls/get-v2"},{"title":"Get a call's tool executions","sidebarTitle":"Tool executions","api":"GET https://api.verbeo.ai/v2/call/{id}/tool-executions","href":"/api-reference/calls/tool-executions"},{"title":"Get call fields in bulk","sidebarTitle":"Fields in bulk","api":"POST https://api.verbeo.ai/v2/call/extras","href":"/api-reference/calls/fields"},{"title":"Get concurrency","sidebarTitle":"Concurrency","api":"GET https://api.verbeo.ai/v2/call/concurrency","href":"/api-reference/calls/concurrency"},{"title":"Fix transcript","sidebarTitle":"Fix transcript","api":"POST https://api.verbeo.ai/v2/call/{id}/transcript","href":"/api-reference/calls/fix-transcript"},{"title":"Get a call's webhook deliveries","sidebarTitle":"Webhook deliveries","api":"GET https://api.verbeo.ai/v2/call/{id}/webhook-logs","href":"/api-reference/calls/webhook-logs"},{"title":"Resend webhooks","sidebarTitle":"Resend webhooks","api":"POST https://api.verbeo.ai/v2/call/{id}/webhooks/resend","href":"/api-reference/calls/resend-webhooks"},{"title":"POST /calls — Create a phone call (v1)","sidebarTitle":"Create phone call (v1)","href":"/api-reference/calls/initiate"}]},{"group":"Campaigns","icon":"bullhorn","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/api-reference/campaign/overview"},{"title":"List campaigns","sidebarTitle":"List campaigns","api":"POST https://api.verbeo.ai/v2/campaign/list","href":"/api-reference/campaign/list"},{"title":"Reserve an upload","sidebarTitle":"Reserve an upload","api":"POST https://api.verbeo.ai/v2/campaign/imports","href":"/api-reference/campaign/reserve-import"},{"title":"Create campaign","sidebarTitle":"Create campaign","api":"POST https://api.verbeo.ai/v2/campaign","href":"/api-reference/campaign/create"},{"title":"Get campaign","sidebarTitle":"Get campaign","api":"GET https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/get"},{"title":"Update campaign","sidebarTitle":"Update campaign","api":"PUT https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/update"},{"title":"Delete campaign","sidebarTitle":"Delete campaign","api":"DELETE https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/delete"},{"title":"Start campaign","sidebarTitle":"Start campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/start","href":"/api-reference/campaign/start"},{"title":"Pause campaign","sidebarTitle":"Pause campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/pause","href":"/api-reference/campaign/pause"},{"title":"Resume campaign","sidebarTitle":"Resume campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/resume","href":"/api-reference/campaign/resume"},{"title":"Cancel campaign","sidebarTitle":"Cancel campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/cancel","href":"/api-reference/campaign/cancel"},{"title":"Retry import","sidebarTitle":"Retry import","api":"POST https://api.verbeo.ai/v2/campaign/{id}/import/retry","href":"/api-reference/campaign/retry-import"},{"title":"List contacts","sidebarTitle":"List contacts","api":"POST https://api.verbeo.ai/v2/campaign/{id}/contacts","href":"/api-reference/campaign/contacts"},{"title":"Contact counts","sidebarTitle":"Contact counts","api":"GET https://api.verbeo.ai/v2/campaign/{id}/stats","href":"/api-reference/campaign/stats"}]},{"group":"Webhooks","icon":"bolt","pages":[{"title":"Webhook events","href":"/api-reference/webhooks/events"},{"title":"Tool call webhooks","href":"/api-reference/webhooks/tool-calls"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/concepts/phone-numbers"}]}]},"basePath":"","title":"Create phone call - Verbeo","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-DPBgY0Zl.js","snippetPresets-DfrK5Qk-.js","utils-BhOu8MoY.js","style-to-object-BY3JEAdk.js","utils-uJw0j5Le.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bf5DiN6S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DIo_VyID.js","_Uint8Array-BCCZOmlk.js","isObject-FP1Yky1u.js","Page-C_4zetsC.js","api-description-markdown-Bnx5o_aC.js","DynamicMarkdown-DGZbG3dj.js","CodeSnippet-DNSgsmyp.js","use-playground-group-access-B6tdpwEQ.js","SectionHeading-Su-XbcWJ.js","ApiExamples-btA_N7J3.js","usePlaygroundInputsStore-D9E8vgOP.js","shallow-BXJ3D3rC.js","isEqual-DTxWZblT.js","CodeSnippets-yZyeAOhB.js","MethodPill-BEHdnIWE.js","getPastedJson-MUjpQ42l.js","Check2Icon-HQrwfTCD.js","axios-CsQoIw0U.js"]}