Queues a call under a specific campaign. The call inherits the campaign’s agent, schedule, retry policy, and DNC rules.For one-off calls (not subject to campaign scheduling), use Make a call instead.
Endpoint
POST /api/v1/campaigns/{campaign_id}/call
Path parameters
string
required
The unique identifier of the campaign.
Request headers
string
required
Bearer token for authentication. Format: Bearer talq_your_environment_token_here
string
required
Application JSON. Format: application/json
Request body
string
required
Phone number to call in E.164 format (e.g., “+1234567890”).
object
Replacement variables for the campaign agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt.
object
Custom data to be sent back to your client via webhooks. This data is not used in the conversation but will be included in all webhook events related to this call, allowing you to track and associate calls with your internal records.
boolean
Whether this is a test call. Test calls do not consume billing credits and are excluded from analytics aggregates. Default: false.
boolean
Whether to allow placing this call even if the same to number already has an active or queued call within the campaign. When false (default), the request returns 409 Conflict with the existing call’s details so you can avoid duplicate outreach. Default: false.
Example requests
# Request 1: Make a regular campaign callcurl -X POST "https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "to": "+1234567890" }'
// Request 1: Make a regular campaign callconst response = await fetch('https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call', { method: 'POST', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ to: '+1234567890' })});const result = await response.json();console.log(result);
# Request 2: Make a test campaign callcurl -X POST "https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call" \ -H "Authorization: Bearer talq_your_environment_token_here" \ -H "Content-Type: application/json" \ -d '{ "to": "+1234567890", "is_testing": true }'
// Request 2: Make a test campaign callconst response = await fetch('https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call', { method: 'POST', headers: { 'Authorization': 'Bearer talq_your_environment_token_here', 'Content-Type': 'application/json' }, body: JSON.stringify({ to: '+1234567890', is_testing: true })});const result = await response.json();console.log(result);
Unique identifier for the campaign call. Use this to track status and correlate with webhook events.
string
required
The campaign this call belongs to.
string
required
The phone number that will be called.
string
required
Initial status of the campaign call. Possible values:
queued — call accepted and waiting for dispatch
scheduled — call scheduled to be placed at a future time within campaign hours
string
ISO 8601 timestamp when the call is expected to be placed.
string
required
ISO 8601 timestamp when the campaign call was created.
object
required
Summary of the parent campaign at the time the call was queued.
Error responses
409 Conflict — Duplicate Call
Returned when a call to the same to number is already active or queued in this campaign and allow_duplicates is false.
{ "success": false, "message": "A call to this number already exists in this campaign", "existing_call": { "id": "call-uuid-existing", "campaign_id": "campaign-uuid-1", "to": "+1234567890", "status": "queued", "created_at": "2024-01-15T09:50:00Z" }}
To override this behavior intentionally (e.g., a follow-up call), pass "allow_duplicates": true in the request body.
404 Not Found
{ "success": false, "message": "Campaign not found"}
422 Validation Error
{ "success": false, "message": "The given data was invalid.", "errors": { "to": [ "The to field is required." ], "to": [ "The to must be a valid phone number." ] }}
400 Bad Request
{ "success": false, "message": "Campaign is not active"}
401 Unauthorized
{ "success": false, "message": "Unauthorized"}
403 Forbidden
{ "success": false, "message": "Cannot make calls for this campaign"}
Get Agent Calls: GET /api/v1/agents/{agent_id}/calls
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Talkover","colors":{"primary":"#155DFC","light":"#669BFF","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2","dark":"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2"},"favicon":"https://mintcdn.com/talqove/p9Bi9k7_5Bq3Cl1A/favicon.svg?fit=max\u0026auto=format\u0026n=p9Bi9k7_5Bq3Cl1A\u0026q=85\u0026s=6d0ae94d10ee524a776d8ad8aa0b442f","api":{},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.talkover.ai"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/talkover"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"href":"en/introduction"},{"language":"pt-BR","href":"pt-br/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"talqove","hasAudioNarration":false,"actualSubdomain":"talqove","customDomains":["docs.talkover.ai"],"gitSource":{"type":"github","owner":"talqover","repo":"talqover-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b061a2f41e45b3f29cc2173","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"API Reference","count":133},{"language":"pt-BR","tag":"Referência da API","count":133},{"language":"en","tag":"Calendars","count":37},{"language":"pt-BR","tag":"Calendários","count":37},{"language":"en","tag":"Setup Agents","count":20},{"language":"pt-BR","tag":"Configurar Agentes","count":20},{"language":"en","tag":"Campaign Integrations","count":16},{"language":"pt-BR","tag":"Integrações de Campanha","count":16},{"language":"en","tag":"Agents","count":13},{"language":"pt-BR","tag":"Agentes","count":13},{"language":"en","tag":"Calls \u0026 Campaigns","count":12},{"language":"pt-BR","tag":"Chamadas e Campanhas","count":12},{"language":"en","tag":"Custom SIP Trunks","count":10},{"language":"pt-BR","tag":"SIP Trunks Personalizados","count":10},{"language":"en","tag":"Campaign Webhooks","count":9},{"language":"en","tag":"Agent Webhooks","count":9},{"language":"en","tag":"For debt collection","count":9},{"language":"pt-BR","tag":"Webhooks de Campanha","count":9},{"language":"pt-BR","tag":"Webhooks de Agente","count":9},{"language":"pt-BR","tag":"Para cobrança","count":9}]},"assistantConfig":{},"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"en/api-reference/endpoints/make-campaign-call","slug":"/en/api-reference/endpoints/make-campaign-call","pageMetadata":{"title":"Make Campaign Call","description":"Initiate a call as part of a specific campaign","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"},"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: \"Initiate a call as part of a specific campaign\"\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,Expandable,Heading,Info,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`make-a-campaign-call`,children:`Make a campaign call`}),`\n`,_jsx(_components.p,{children:`Queues a call under a specific campaign. The call inherits the campaign’s agent, schedule, retry policy, and DNC rules.`}),`\n`,_jsxs(_components.p,{children:[`For one-off calls (not subject to campaign scheduling), use `,_jsx(_components.a,{href:`/en/api-reference/endpoints/make-call`,children:`Make a call`}),` instead.`]}),`\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 /api/v1/campaigns/{campaign_id}/call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`campaign`,type:`string`,required:true,id:`param-campaign`,children:_jsx(_components.p,{children:`The unique identifier of the campaign.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Application JSON. Format: `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`to`,type:`string`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Phone number to call in E.164 format (e.g., “+1234567890”).`})}),`\n`,_jsx(ParamField,{body:`payload`,type:`object`,required:false,id:`param-payload`,children:_jsx(_components.p,{children:`Replacement variables for the campaign agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt.`})}),`\n`,_jsx(ParamField,{body:`context`,type:`object`,required:false,id:`param-context`,children:_jsx(_components.p,{children:`Custom data to be sent back to your client via webhooks. This data is not used in the conversation but will be included in all webhook events related to this call, allowing you to track and associate calls with your internal records.`})}),`\n`,_jsx(ParamField,{body:`is_testing`,type:`boolean`,required:false,id:`param-is-testing`,children:_jsxs(_components.p,{children:[`Whether this is a test call. Test calls do not consume billing credits and are excluded from analytics aggregates. Default: `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`allow_duplicates`,type:`boolean`,required:false,id:`param-allow-duplicates`,children:_jsxs(_components.p,{children:[`Whether to allow placing this call even if the same `,_jsx(_components.code,{children:`to`}),` number already has an active or queued call within the campaign. When `,_jsx(_components.code,{children:`false`}),` (default), the request returns `,_jsx(_components.code,{children:`409 Conflict`}),` with the existing call’s details so you can avoid duplicate outreach. Default: `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-201-created`,children:`Success Response (201 Created)`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsxs(ResponseField,{name:`campaign_call`,type:`object`,required:true,id:`param-campaign-call`,children:[_jsx(_components.p,{children:`Details of the queued campaign call.`}),_jsxs(Expandable,{title:`Campaign Call Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the campaign call. Use this to track status and correlate with webhook events.`})}),_jsx(ResponseField,{name:`campaign_id`,type:`string`,required:true,id:`param-campaign-id`,children:_jsx(_components.p,{children:`The campaign this call belongs to.`})}),_jsx(ResponseField,{name:`to`,type:`string`,required:true,id:`param-to-1`,children:_jsx(_components.p,{children:`The phone number that will be called.`})}),_jsxs(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`Initial status of the campaign call. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`queued`}),` — call accepted and waiting for dispatch`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`scheduled`}),` — call scheduled to be placed at a future time within campaign hours`]}),`\n`]})]}),_jsx(ResponseField,{name:`scheduled_at`,type:`string`,id:`param-scheduled-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call is expected to be placed.`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the campaign call was created.`})})]})]}),`\n`,_jsx(ResponseField,{name:`campaign`,type:`object`,required:true,id:`param-campaign-1`,children:_jsx(_components.p,{children:`Summary of the parent campaign at the time the call was queued.`})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`409-conflict-—-duplicate-call`,children:`409 Conflict — Duplicate Call`}),`\n`,_jsxs(_components.p,{children:[`Returned when a call to the same `,_jsx(_components.code,{children:`to`}),` number is already active or queued in this campaign and `,_jsx(_components.code,{children:`allow_duplicates`}),` is `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,`\n`,_jsxs(_components.p,{children:[`To override this behavior intentionally (e.g., a follow-up call), pass `,_jsx(_components.code,{children:`\"allow_duplicates\": true`}),` in the request body.`]}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`422-validation-error`,children:`422 Validation Error`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`400-bad-request`,children:`400 Bad Request`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`429-too-many-requests`,children:`429 Too Many Requests`}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`500-server-error`,children:`500 Server Error`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CAMPAIGN_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified campaign does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Request validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CAMPAIGN_NOT_ACTIVE`})}),_jsx(_components.td,{children:`Campaign is not in active status`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DUPLICATE_CALL`})}),_jsx(_components.td,{children:`An existing call to the same number is queued or active`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{children:`Cannot make calls for this campaign`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RATE_LIMIT_EXCEEDED`})}),_jsx(_components.td,{children:`Rate limit exceeded`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`429`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_ERROR`})}),_jsx(_components.td,{children:`Internal server error occurred`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`campaign-status-requirements`,children:`Campaign Status Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campaign Status`}),_jsx(_components.th,{children:`Can Make Calls`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`draft`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign must be active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`active`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Calls can be made`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`paused`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign is paused`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign has finished`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancelled`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign was cancelled`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Campaign context.`}),` Calls made through this endpoint are associated with the specific campaign.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Campaign settings.`}),` The call will follow the campaign’s configuration (agent, retry logic, etc.).`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Test calls.`}),` Use `,_jsx(_components.code,{children:`is_testing: true`}),` for test calls that don’t count toward billing.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Active campaigns only.`}),` Calls can only be made for campaigns in “active” status.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate limits.`}),` Be aware of rate limits when making multiple calls.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Campaign`}),`: `,_jsx(_components.code,{children:`GET /api/v1/campaigns/{campaign_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Campaign Status`}),`: `,_jsx(_components.code,{children:`PATCH /api/v1/campaigns/{campaign_id}/status`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make a Call`}),`: `,_jsx(_components.code,{children:`POST /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}/calls`})]}),`\n`]})]})}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":"Make Campaign Call","description":"Initiate a call as part of a specific campaign","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"}}},"mdxSourceWithNoJs":{"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,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`make-a-campaign-call`,children:`Make a campaign call`}),`\n`,_jsx(_components.p,{children:`Queues a call under a specific campaign. The call inherits the campaign’s agent, schedule, retry policy, and DNC rules.`}),`\n`,_jsxs(_components.p,{children:[`For one-off calls (not subject to campaign scheduling), use `,_jsx(_components.a,{href:`/en/api-reference/endpoints/make-call`,children:`Make a call`}),` instead.`]}),`\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 /api/v1/campaigns/{campaign_id}/call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`campaign`,type:`string`,required:true,id:`param-campaign`,children:_jsx(_components.p,{children:`The unique identifier of the campaign.`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for authentication. Format: `,_jsx(_components.code,{children:`Bearer talq_your_environment_token_here`})]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Application JSON. Format: `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`to`,type:`string`,required:true,id:`param-to`,children:_jsx(_components.p,{children:`Phone number to call in E.164 format (e.g., “+1234567890”).`})}),`\n`,_jsx(ParamField,{body:`payload`,type:`object`,required:false,id:`param-payload`,children:_jsx(_components.p,{children:`Replacement variables for the campaign agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt.`})}),`\n`,_jsx(ParamField,{body:`context`,type:`object`,required:false,id:`param-context`,children:_jsx(_components.p,{children:`Custom data to be sent back to your client via webhooks. This data is not used in the conversation but will be included in all webhook events related to this call, allowing you to track and associate calls with your internal records.`})}),`\n`,_jsx(ParamField,{body:`is_testing`,type:`boolean`,required:false,id:`param-is-testing`,children:_jsxs(_components.p,{children:[`Whether this is a test call. Test calls do not consume billing credits and are excluded from analytics aggregates. Default: `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`allow_duplicates`,type:`boolean`,required:false,id:`param-allow-duplicates`,children:_jsxs(_components.p,{children:[`Whether to allow placing this call even if the same `,_jsx(_components.code,{children:`to`}),` number already has an active or queued call within the campaign. When `,_jsx(_components.code,{children:`false`}),` (default), the request returns `,_jsx(_components.code,{children:`409 Conflict`}),` with the existing call’s details so you can avoid duplicate outreach. Default: `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example-requests`,children:`Example requests`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,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:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 1: Make a regular campaign call`})}),`\n`,_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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 talq_your_environment_token_here\"`}),_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\": \"+1234567890\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 1: Make a regular campaign call`})}),`\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:` response`}),_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`}),_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'`})]}),`\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:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+1234567890'`})]}),`\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:` result`}),_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:` response`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 2: Make a test campaign call`})}),`\n`,_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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 talq_your_environment_token_here\"`}),_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\": \"+1234567890\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_testing\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 2: Make a test campaign call`})}),`\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:` response`}),_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`}),_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'`})]}),`\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:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+1234567890'`}),_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:` is_testing:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\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:` result`}),_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:` response`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`17`,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:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request 3: Make campaign call with payload and context`})}),`\n`,_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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 talq_your_environment_token_here\"`}),_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\": \"+1987654321\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"payload\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer_name\": \"John Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"order_id\": \"12345\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_name\": \"Premium Plan\"`})}),`\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:` \"context\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user_id\": \"user_123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"source\": \"web_app\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"campaign_batch\": \"2024_Q1\"`})}),`\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:``,numberOfLines:`24`,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:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Request 3: Make campaign call with payload and context`})}),`\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:` response`}),_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://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer talq_your_environment_token_here'`}),_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'`})]}),`\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:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '+1987654321'`}),_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:` payload:`}),_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:` 'John Doe'`}),_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:` '12345'`}),_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:` product_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Premium Plan'`})]}),`\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:` context:`}),_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:` user_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user_123'`}),_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:` source:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'web_app'`}),_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:` campaign_batch:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2024_Q1'`})]}),`\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:` result`}),_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:` response`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response-201-created`,children:`Success Response (201 Created)`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,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:` \"campaign_call\"`}),_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:`\"call-uuid-1\"`}),_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:` \"campaign_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"campaign-uuid-1\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_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:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00Z\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00Z\"`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign\"`}),_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:`\"campaign-uuid-1\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Q1 Outreach\"`}),_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:`\"active\"`})]}),`\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(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsxs(ResponseField,{name:`campaign_call`,type:`object`,required:true,id:`param-campaign-call`,children:[_jsx(_components.p,{children:`Details of the queued campaign call.`}),_jsxs(Expandable,{title:`Campaign Call Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Unique identifier for the campaign call. Use this to track status and correlate with webhook events.`})}),_jsx(ResponseField,{name:`campaign_id`,type:`string`,required:true,id:`param-campaign-id`,children:_jsx(_components.p,{children:`The campaign this call belongs to.`})}),_jsx(ResponseField,{name:`to`,type:`string`,required:true,id:`param-to-1`,children:_jsx(_components.p,{children:`The phone number that will be called.`})}),_jsxs(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`Initial status of the campaign call. Possible values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`queued`}),` — call accepted and waiting for dispatch`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`scheduled`}),` — call scheduled to be placed at a future time within campaign hours`]}),`\n`]})]}),_jsx(ResponseField,{name:`scheduled_at`,type:`string`,id:`param-scheduled-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the call is expected to be placed.`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp when the campaign call was created.`})})]})]}),`\n`,_jsx(ResponseField,{name:`campaign`,type:`object`,required:true,id:`param-campaign-1`,children:_jsx(_components.p,{children:`Summary of the parent campaign at the time the call was queued.`})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(Heading,{level:`3`,id:`409-conflict-—-duplicate-call`,children:`409 Conflict — Duplicate Call`}),`\n`,_jsxs(_components.p,{children:[`Returned when a call to the same `,_jsx(_components.code,{children:`to`}),` number is already active or queued in this campaign and `,_jsx(_components.code,{children:`allow_duplicates`}),` is `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(ResponseExample,{children:_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:`false`}),_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:`\"A call to this number already exists in this campaign\"`}),_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:` \"existing_call\"`}),_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:`\"call-uuid-existing\"`}),_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:` \"campaign_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"campaign-uuid-1\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+1234567890\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T09:50:00Z\"`})]}),`\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`,_jsxs(_components.p,{children:[`To override this behavior intentionally (e.g., a follow-up call), pass `,_jsx(_components.code,{children:`\"allow_duplicates\": true`}),` in the request body.`]}),`\n`,_jsx(Heading,{level:`3`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Campaign not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`422-validation-error`,children:`422 Validation Error`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:`false`}),_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:`\"The given data was invalid.\"`}),_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:` \"errors\"`}),_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\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The to field is required.\"`})}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"The to must be a valid phone number.\"`})}),`\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(Heading,{level:`3`,id:`400-bad-request`,children:`400 Bad Request`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Campaign is not active\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Unauthorized\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Cannot make calls for this campaign\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`429-too-many-requests`,children:`429 Too Many Requests`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Rate limit exceeded\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`500-server-error`,children:`500 Server Error`}),`\n`,_jsx(ResponseExample,{children:_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`\"Internal server error.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-codes`,children:`Error codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`HTTP Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CAMPAIGN_NOT_FOUND`})}),_jsx(_components.td,{children:`Specified campaign does not exist`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_ERROR`})}),_jsx(_components.td,{children:`Request validation failed`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CAMPAIGN_NOT_ACTIVE`})}),_jsx(_components.td,{children:`Campaign is not in active status`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DUPLICATE_CALL`})}),_jsx(_components.td,{children:`An existing call to the same number is queued or active`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_TOKEN`})}),_jsx(_components.td,{children:`Authentication token is invalid or missing`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{children:`Cannot make calls for this campaign`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RATE_LIMIT_EXCEEDED`})}),_jsx(_components.td,{children:`Rate limit exceeded`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`429`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SERVER_ERROR`})}),_jsx(_components.td,{children:`Internal server error occurred`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`campaign-status-requirements`,children:`Campaign Status Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campaign Status`}),_jsx(_components.th,{children:`Can Make Calls`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`draft`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign must be active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`active`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Calls can be made`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`paused`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign is paused`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign has finished`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cancelled`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Campaign was cancelled`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important notes`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Campaign context.`}),` Calls made through this endpoint are associated with the specific campaign.`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Campaign settings.`}),` The call will follow the campaign’s configuration (agent, retry logic, etc.).`]})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Test calls.`}),` Use `,_jsx(_components.code,{children:`is_testing: true`}),` for test calls that don’t count toward billing.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Active campaigns only.`}),` Calls can only be made for campaigns in “active” status.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate limits.`}),` Be aware of rate limits when making multiple calls.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Campaign`}),`: `,_jsx(_components.code,{children:`GET /api/v1/campaigns/{campaign_id}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Update Campaign Status`}),`: `,_jsx(_components.code,{children:`PATCH /api/v1/campaigns/{campaign_id}/status`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make a Call`}),`: `,_jsx(_components.code,{children:`POST /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`List Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/calls`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Get Agent Calls`}),`: `,_jsx(_components.code,{children:`GET /api/v1/agents/{agent_id}/calls`})]}),`\n`]})]})}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":"Make Campaign Call","description":"Initiate a call as part of a specific campaign","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Make a campaign call","slug":"make-a-campaign-call","depth":1,"children":[]},{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request headers","slug":"request-headers","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Example requests","slug":"example-requests","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success Response (201 Created)","slug":"success-response-201-created","depth":3,"children":[]},{"title":"Response fields","slug":"response-fields","depth":3,"children":[]}]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[{"title":"409 Conflict — Duplicate Call","slug":"409-conflict-—-duplicate-call","depth":3,"children":[]},{"title":"404 Not Found","slug":"404-not-found","depth":3,"children":[]},{"title":"422 Validation Error","slug":"422-validation-error","depth":3,"children":[]},{"title":"400 Bad Request","slug":"400-bad-request","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]},{"title":"403 Forbidden","slug":"403-forbidden","depth":3,"children":[]},{"title":"429 Too Many Requests","slug":"429-too-many-requests","depth":3,"children":[]},{"title":"500 Server Error","slug":"500-server-error","depth":3,"children":[]}]},{"title":"Error codes","slug":"error-codes","depth":2,"children":[]},{"title":"Campaign Status Requirements","slug":"campaign-status-requirements","depth":2,"children":[]},{"title":"Important notes","slug":"important-notes","depth":2,"children":[]},{"title":"Related endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># Request 1: Make a regular campaign call\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer talq_your_environment_token_here\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"to\": \"+1234567890\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Request 1: Make a regular campaign call\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'https://app.talkover.ai/api/v1/campaigns/campaign-uuid-1/call'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'POST'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Bearer talq_your_environment_token_here'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'application/json'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> to:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '+1234567890'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> })\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"15\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign_call\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"call-uuid-1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"campaign-uuid-1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+1234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"queued\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scheduled_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-15T10:30:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"campaign-uuid-1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Q1 Outreach\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Make Campaign Call","path":"/api/v1/campaigns/{campaign_id}/call","method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token for authentication. Format: `Bearer talq_your_environment_token_here`","required":true}]},"Content-Type":{"schema":[{"type":"string","description":"Application JSON. Format: `application/json`","required":true}]}},"cookie":{},"path":{"campaign":{"schema":[{"type":"string","description":"The unique identifier of the campaign.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"to":[{"type":"string","description":"Phone number to call in E.164 format (e.g., “+1234567890”).","required":true}],"payload":[{"type":"object","properties":{},"description":"Replacement variables for the campaign agent prompt. Use this to personalize the conversation with dynamic data. Keys should match placeholders in your agent’s prompt."}],"context":[{"type":"object","properties":{},"description":"Custom data to be sent back to your client via webhooks. This data is not used in the conversation but will be included in all webhook events related to this call, allowing you to track and associate calls with your internal records."}],"is_testing":[{"type":"boolean","description":"Whether this is a test call. Test calls do not consume billing credits and are excluded from analytics aggregates. Default: `false` ."}],"allow_duplicates":[{"type":"boolean","description":"Whether to allow placing this call even if the same `to` number already has an active or queued call within the campaign. When `false` (default), the request returns `409 Conflict` with the existing call’s details so you can avoid duplicate outreach. Default: `false` ."}]}}],"examples":{"example":{"value":{"to":"\u003cstring>","payload":{},"context":{},"is_testing":true,"allow_duplicates":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"campaign_call":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the campaign call. Use this to track status and correlate with webhook events.","required":true}],"campaign_id":[{"type":"string","description":"The campaign this call belongs to.","required":true}],"to":[{"type":"string","description":"The phone number that will be called.","required":true}],"status":[{"type":"string","description":"Initial status of the campaign call. Possible values: `queued` — call accepted and waiting for dispatch `scheduled` — call scheduled to be placed at a future time within campaign hours","required":true}],"scheduled_at":[{"type":"string","description":"ISO 8601 timestamp when the call is expected to be placed."}],"created_at":[{"type":"string","description":"ISO 8601 timestamp when the campaign call was created.","required":true}]},"description":"Details of the queued campaign call.","required":true}],"campaign":[{"type":"object","properties":{},"description":"Summary of the parent campaign at the time the call was queued.","required":true}]}}],"examples":{"example":{"value":{"campaign_call":{"id":"\u003cstring>","campaign_id":"\u003cstring>","to":"\u003cstring>","status":"\u003cstring>","scheduled_at":"\u003cstring>","created_at":"\u003cstring>"},"campaign":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"talqove","siteName":"Talkover","title":"Make Campaign Call - Talkover","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/endpoints/make-campaign-call","matchLevel":0},"pt-BR":{"href":"/pt-br/api-reference/endpoints/make-campaign-call","matchLevel":1}}},"lastModified":"2026-04-29T17:15:43.528Z","originalFileLocation":"en/api-reference/endpoints/make-campaign-call.mdx","locale":"en"},"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=\"Initiate a call as part of a specific campaign\">\u003cmeta data-mint-head name=\"application-name\" content=\"Talkover\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_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/talqove/PKfJxicXqCCm-q-y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Make Campaign Call - Talkover\">\u003cmeta data-mint-head property=\"og:description\" content=\"Initiate a call as part of a specific campaign\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Talkover\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Make+a+Call\u0026amp;title=Make+Campaign+Call\u0026amp;description=Initiate+a+call+as+part+of+a+specific+campaign\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=3f679e7159e43dcfadf0da383a839b72a1052ae5ca7f21a08e5b43b91fa74cb5\">\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=\"Make Campaign Call - Talkover\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Initiate a call as part of a specific campaign\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://talqove.mintlify.site/_mintlify/api/og/v2?division=Make+a+Call\u0026amp;title=Make+Campaign+Call\u0026amp;description=Initiate+a+call+as+part+of+a+specific+campaign\u0026amp;theme=872a8f276c928ecd28f6fd4b\u0026amp;signature=3f679e7159e43dcfadf0da383a839b72a1052ae5ca7f21a08e5b43b91fa74cb5\">\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/talqove/PKfJxicXqCCm-q-y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Talkover\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DFC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/endpoints/make-campaign-call.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.talkover.ai/pt-br/api-reference/endpoints/make-campaign-call\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.talkover.ai/#organization\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/talqove/5migkN6-Hty9RJZw/images/logo.svg?fit=max\u0026auto=format\u0026n=5migkN6-Hty9RJZw\u0026q=85\u0026s=b3e6bead068f900e1a50ec54b1d813f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.talkover.ai#website\",\"name\":\"Talkover\",\"url\":\"https://docs.talkover.ai\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call#webpage\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\",\"name\":\"Make Campaign Call\",\"description\":\"Initiate a call as part of a specific campaign\",\"dateModified\":\"2026-04-29T17:15:43.528Z\",\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.talkover.ai/en/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Make a Call\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-call\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Make Campaign Call\",\"item\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call#apireference\",\"headline\":\"Make Campaign Call\",\"name\":\"Make Campaign Call\",\"description\":\"Initiate a call as part of a specific campaign\",\"url\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call\",\"mainEntityOfPage\":{\"@id\":\"https://docs.talkover.ai/en/api-reference/endpoints/make-campaign-call#webpage\"},\"dateModified\":\"2026-04-29T17:15:43.528Z\",\"publisher\":{\"@id\":\"https://docs.talkover.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.talkover.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Talkover\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Talkover\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/endpoints/make-campaign-call.md","siteName":"Talkover","nav":{"global":{"anchors":[]},"languages":[{"language":"en","default":true,"groups":[{"group":"Get Started","pages":[{"title":"Talkover API","href":"/en/introduction"},{"title":"Quick start Guide","href":"/en/getting-started/quickstart"},{"title":"Authentication","href":"/en/getting-started/authentication"},{"title":"Make Your First Call","href":"/en/getting-started/first-call"}]},{"group":"Concepts","pages":[{"title":"Voice Agents","href":"/en/concepts/voice-agents"},{"title":"Call Flows","href":"/en/concepts/call-flows"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/introduction"},{"title":"Authentication","href":"/en/api-reference/authentication"},{"group":"Voice Templates \u0026 Phone Numbers","pages":[{"title":"List Voice Templates","api":"GET /api/v1/voice-templates","href":"/en/api-reference/endpoints/list-voice-templates"},{"title":"Generate Voice Template Demo","api":"GET /api/v1/voice-templates/{voice_template_id}/demo","href":"/en/api-reference/endpoints/generate-voice-demo"},{"title":"List Phone Numbers","api":"GET /api/v1/phone-numbers","href":"/en/api-reference/endpoints/list-phone-numbers"},{"title":"List Release Requests","api":"GET /api/v1/phone-numbers/release-requests","href":"/en/api-reference/endpoints/list-release-requests"},{"title":"Request Phone Number Release","api":"POST /api/v1/phone-numbers/{phone_number_id}/request-release","href":"/en/api-reference/endpoints/request-phone-release"},{"title":"Cancel Release Request","api":"DELETE /api/v1/phone-numbers/release-requests/{release_request_id}","href":"/en/api-reference/endpoints/cancel-release-request"}]},{"group":"Setup Agents","pages":[{"group":"Agents","pages":[{"title":"List Agents","api":"GET /api/v1/agents","href":"/en/api-reference/endpoints/list-agents"},{"title":"Create Agent","api":"POST /api/v1/agents","href":"/en/api-reference/endpoints/create-agent"},{"title":"Get Agent","api":"GET /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/get-agent"},{"title":"Update Agent Knowledge","api":"PUT /api/v1/agents/{agent_id}/knowledge","href":"/en/api-reference/endpoints/update-agent-knowledge"},{"title":"Update Agent Voice","api":"PUT /api/v1/agents/{agent_id}/voice","href":"/en/api-reference/endpoints/update-agent-voice"},{"title":"Update Agent Calling Settings","api":"PUT /api/v1/agents/{agent_id}/calling","href":"/en/api-reference/endpoints/update-agent-calling"},{"title":"Publish Agent","api":"POST /api/v1/agents/{agent_id}/publish","href":"/en/api-reference/endpoints/publish-agent"},{"title":"Unpublish Agent","api":"POST /api/v1/agents/{agent_id}/unpublish","href":"/en/api-reference/endpoints/unpublish-agent"},{"title":"Delete Agent","api":"DELETE /api/v1/agents/{agent_id}","href":"/en/api-reference/endpoints/delete-agent"},{"title":"Update Advanced Settings","api":"PATCH /api/v1/agents/{agent_id}/advanced-settings","href":"/en/api-reference/endpoints/update-advanced-settings"},{"title":"Check Optimized Costs Eligibility","api":"GET /api/v1/agents/{agent_id}/optimized-costs-eligibility","href":"/en/api-reference/endpoints/check-optimized-costs-eligibility"},{"title":"Get Agent Pricing","api":"GET /api/v1/agents/{agent_id}/pricing","href":"/en/api-reference/endpoints/get-agent-pricing"},{"title":"Get Agent Pricing Summary","api":"GET /api/v1/agents/{agent_id}/pricing/summary","href":"/en/api-reference/endpoints/get-agent-pricing-summary"}]},{"group":"Trainings","pages":[{"title":"List Trainings","api":"GET /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/list-trainings"},{"title":"Create/Update Training","api":"POST /api/v1/agents/{agent_id}/trainings","href":"/en/api-reference/endpoints/create-training"},{"title":"Delete Training","api":"DELETE /api/v1/agents/{agent_id}/trainings/{training_id}","href":"/en/api-reference/endpoints/delete-training"}]},{"group":"Actions","pages":[{"title":"List Actions","api":"GET /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/list-actions"},{"title":"Create/Update Action","api":"POST /api/v1/agents/{agent_id}/actions","href":"/en/api-reference/endpoints/create-action"},{"title":"Delete Action","api":"DELETE /api/v1/agents/{agent_id}/actions/{action_id}","href":"/en/api-reference/endpoints/delete-action"},{"title":"List Action Integrations","api":"GET /api/v1/action-integrations","href":"/en/api-reference/endpoints/list-action-integrations"}]}]},{"group":"Conversation Flow","pages":[{"title":"Get Agent Flow","api":"GET /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/get-agent-flow"},{"title":"Update Agent Flow","api":"PUT /api/v1/agents/{agent_id}/flow","href":"/en/api-reference/endpoints/update-agent-flow"},{"title":"Validate Agent Flow","api":"POST /api/v1/agents/{agent_id}/flow/validate","href":"/en/api-reference/endpoints/validate-agent-flow"},{"title":"List Agent Flow Versions","api":"GET /api/v1/agents/{agent_id}/flow/versions","href":"/en/api-reference/endpoints/list-agent-flow-versions"}]},{"group":"Make a Call","pages":[{"title":"Make a Call","description":"Initiate an call using a voice agent","api":"POST /api/v1/agents/{agent_id}/call","href":"/en/api-reference/endpoints/make-call"},{"title":"Make Campaign Call","api":"POST /api/v1/campaigns/{campaign_id}/call","href":"/en/api-reference/endpoints/make-campaign-call"},{"title":"End Call","description":"Hang up an active call placed by an agent","api":"POST /api/v1/agents/{agent_id}/end-call","href":"/en/api-reference/endpoints/end-call"},{"title":"Get Active Call by Phone","api":"GET /api/v1/agents/{agent_id}/active-call/{phone}","href":"/en/api-reference/endpoints/get-active-call"}]},{"group":"Calls \u0026 Campaigns","pages":[{"title":"List calls","api":"GET /api/v1/calls","href":"/en/api-reference/endpoints/list-calls"},{"title":"Get Agent Calls","api":"GET /api/v1/agents/{agent_id}/calls","href":"/en/api-reference/endpoints/get-agent-calls"},{"title":"Get call insight","api":"GET /api/v1/calls/{call_id}/insight","href":"/en/api-reference/endpoints/get-call-insight"},{"title":"List Campaigns","api":"GET /api/v1/campaigns","href":"/en/api-reference/endpoints/list-campaigns"},{"title":"Create Campaign","api":"POST /api/v1/campaigns","href":"/en/api-reference/endpoints/create-campaign"},{"title":"Get Campaign","api":"GET /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/get-campaign"},{"title":"Update Campaign","api":"PUT /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/update-campaign"},{"title":"Update Campaign Status","api":"PATCH /api/v1/campaigns/{campaign_id}/status","href":"/en/api-reference/endpoints/update-campaign-status"},{"title":"Delete Campaign","api":"DELETE /api/v1/campaigns/{campaign_id}","href":"/en/api-reference/endpoints/delete-campaign"},{"title":"Clear campaign","api":"POST /api/v1/campaigns/{campaign_id}/clear","href":"/en/api-reference/endpoints/clear-campaign"},{"title":"Upload contact list","api":"POST /api/v1/campaigns/{campaign_id}/files","href":"/en/api-reference/endpoints/upload-campaign-list"},{"title":"Get list import progress","api":"GET /api/v1/campaigns/{campaign_id}/files/{file_data_id}/progress","href":"/en/api-reference/endpoints/get-campaign-list-progress"}]},{"group":"Campaign Integrations","pages":[{"group":"Campaign Webhooks","pages":[{"title":"List Campaign Webhooks","api":"GET /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/list-campaign-webhooks"},{"title":"Create Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks","href":"/en/api-reference/endpoints/create-campaign-webhook"},{"title":"Get Campaign Webhook","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-campaign-webhook"},{"title":"Update Campaign Webhook","api":"PUT /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-campaign-webhook"},{"title":"Delete Campaign Webhook","api":"DELETE /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-campaign-webhook"},{"title":"Toggle Campaign Webhook","api":"PATCH /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-campaign-webhook"},{"title":"Test Campaign Webhook","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-campaign-webhook"},{"title":"List Campaign Webhook Logs","api":"GET /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-campaign-webhook-logs"},{"title":"Retry Campaign Webhook Delivery","api":"POST /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-campaign-webhook-log"}]},{"group":"Campaign SFTP","pages":[{"title":"Get Campaign SFTP Config","api":"GET /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/get-campaign-sftp"},{"title":"Create Campaign SFTP Config","api":"POST /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/create-campaign-sftp"},{"title":"Update Campaign SFTP Config","api":"PUT /api/v1/campaigns/{campaign_id}/sftp","href":"/en/api-reference/endpoints/update-campaign-sftp"},{"title":"Test Campaign SFTP Connection","api":"POST /api/v1/campaigns/{campaign_id}/sftp/test-connection","href":"/en/api-reference/endpoints/test-campaign-sftp-connection"},{"title":"Trigger SFTP Import","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-import","href":"/en/api-reference/endpoints/trigger-campaign-sftp-import"},{"title":"Trigger SFTP Export","api":"POST /api/v1/campaigns/{campaign_id}/sftp/trigger-export","href":"/en/api-reference/endpoints/trigger-campaign-sftp-export"},{"title":"List Campaign SFTP Logs","api":"GET /api/v1/campaigns/{campaign_id}/sftp/logs","href":"/en/api-reference/endpoints/list-campaign-sftp-logs"}]}]},{"group":"Callback Agents","pages":[{"title":"List Callback Agents","api":"GET /api/v1/callback-agents","href":"/en/api-reference/endpoints/list-callback-agents"},{"title":"List Callback Source Agents","api":"GET /api/v1/callback-agents/source-agents","href":"/en/api-reference/endpoints/list-callback-source-agents"},{"title":"Get Callback Stats","api":"GET /api/v1/callback-agents/stats","href":"/en/api-reference/endpoints/get-callback-stats"},{"title":"Get Callback Agent","api":"GET /api/v1/callback-agents/{agent_id}","href":"/en/api-reference/endpoints/get-callback-agent"},{"title":"Check Callback Constraints","api":"POST /api/v1/callback-agents/{agent_id}/check-constraints","href":"/en/api-reference/endpoints/check-callback-constraints"},{"title":"Set Agent as Callback","api":"POST /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/set-agent-as-callback"},{"title":"Update Callback Sources","api":"PUT /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/update-callback-sources"},{"title":"Remove Callback Role","api":"DELETE /api/v1/agents/{agent_id}/callback","href":"/en/api-reference/endpoints/remove-callback-role"}]},{"group":"Calendars","pages":[{"group":"Calendars","pages":[{"title":"List Calendars","api":"GET /api/v1/calendars","href":"/en/api-reference/endpoints/list-calendars"},{"title":"Create Calendar","api":"POST /api/v1/calendars","href":"/en/api-reference/endpoints/create-calendar"},{"title":"Get Calendar","api":"GET /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/get-calendar"},{"title":"Update Calendar","api":"PUT /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/update-calendar"},{"title":"Delete Calendar","api":"DELETE /api/v1/calendars/{calendar_id}","href":"/en/api-reference/endpoints/delete-calendar"},{"title":"Get Events (Batch)","api":"GET /api/v1/calendars/events","href":"/en/api-reference/endpoints/get-calendar-events-batch"},{"title":"Trigger Calendars Sync","api":"POST /api/v1/calendars/sync","href":"/en/api-reference/endpoints/trigger-calendars-sync"},{"title":"Get Calendars Sync Status","api":"GET /api/v1/calendars/sync-status","href":"/en/api-reference/endpoints/get-calendars-sync-status"}]},{"group":"Members","pages":[{"title":"List Calendar Members","api":"GET /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/list-calendar-members"},{"title":"Add Calendar Member","api":"POST /api/v1/calendars/{calendar_id}/members","href":"/en/api-reference/endpoints/add-calendar-member"},{"title":"Update Calendar Member","api":"PUT /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/update-calendar-member"},{"title":"Remove Calendar Member","api":"DELETE /api/v1/calendars/{calendar_id}/members/{member_id}","href":"/en/api-reference/endpoints/remove-calendar-member"}]},{"group":"Events","pages":[{"title":"List Calendar Events","api":"GET /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/list-calendar-events"},{"title":"Create Calendar Event","api":"POST /api/v1/calendars/{calendar_id}/events","href":"/en/api-reference/endpoints/create-calendar-event"},{"title":"Get Calendar Event","api":"GET /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/get-calendar-event"},{"title":"Update Calendar Event","api":"PUT /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/update-calendar-event"},{"title":"Delete Calendar Event","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}","href":"/en/api-reference/endpoints/delete-calendar-event"},{"title":"Create Event Meeting Link","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/meeting","href":"/en/api-reference/endpoints/create-event-meeting"},{"title":"Add Event Attendee","api":"POST /api/v1/calendars/{calendar_id}/events/{event_id}/attendees","href":"/en/api-reference/endpoints/add-event-attendee"},{"title":"Remove Event Attendee","api":"DELETE /api/v1/calendars/{calendar_id}/events/{event_id}/attendees/{attendee_id}","href":"/en/api-reference/endpoints/remove-event-attendee"}]},{"group":"Availability","pages":[{"title":"List Availability Rules","api":"GET /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/list-availability-rules"},{"title":"Create Availability Rule","api":"POST /api/v1/calendars/{calendar_id}/availability-rules","href":"/en/api-reference/endpoints/create-availability-rule"},{"title":"Update Availability Rule","api":"PUT /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/update-availability-rule"},{"title":"Delete Availability Rule","api":"DELETE /api/v1/calendars/{calendar_id}/availability-rules/{rule_id}","href":"/en/api-reference/endpoints/delete-availability-rule"},{"title":"Query Availability","api":"GET /api/v1/calendars/{calendar_id}/availability","href":"/en/api-reference/endpoints/query-availability"}]},{"group":"Provider Connections","pages":[{"title":"List Provider Connections","api":"GET /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/list-provider-connections"},{"title":"Create Provider Connection","api":"POST /api/v1/calendars/{calendar_id}/providers","href":"/en/api-reference/endpoints/create-provider-connection"},{"title":"Disconnect Provider","api":"DELETE /api/v1/calendars/{calendar_id}/providers/{provider_id}","href":"/en/api-reference/endpoints/disconnect-provider"},{"title":"Trigger Provider Sync","api":"POST /api/v1/calendars/{calendar_id}/providers/{provider_id}/sync","href":"/en/api-reference/endpoints/trigger-provider-sync"}]}]},{"group":"Custom SIP Trunks","pages":[{"title":"List SIP Trunks","api":"GET /api/v1/sip-trunks","href":"/en/api-reference/endpoints/list-sip-trunks"},{"title":"Create SIP Trunk","api":"POST /api/v1/sip-trunks","href":"/en/api-reference/endpoints/create-sip-trunk"},{"title":"Get SIP Trunk","api":"GET /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/get-sip-trunk"},{"title":"Update SIP Trunk","api":"PUT /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/update-sip-trunk"},{"title":"Delete SIP Trunk","api":"DELETE /api/v1/sip-trunks/{trunk_id}","href":"/en/api-reference/endpoints/delete-sip-trunk"},{"title":"Verify SIP Trunk","api":"POST /api/v1/sip-trunks/{trunk_id}/verify","href":"/en/api-reference/endpoints/verify-sip-trunk"},{"title":"Get SIP Trunk Health","api":"GET /api/v1/sip-trunks/{trunk_id}/health","href":"/en/api-reference/endpoints/get-sip-trunk-health"},{"title":"List SIP Trunk DIDs","api":"GET /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/list-sip-trunk-dids"},{"title":"Create SIP Trunk DID","api":"POST /api/v1/sip-trunks/{trunk_id}/dids","href":"/en/api-reference/endpoints/create-sip-trunk-did"},{"title":"Delete SIP Trunk DID","api":"DELETE /api/v1/sip-trunks/{trunk_id}/dids/{phone_number_id}","href":"/en/api-reference/endpoints/delete-sip-trunk-did"}]},{"group":"Agent Webhooks","pages":[{"title":"List Agent Webhooks","api":"GET /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/list-agent-webhooks"},{"title":"Create Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks","href":"/en/api-reference/endpoints/create-webhook"},{"title":"Get Webhook Details","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/get-webhook-details"},{"title":"Update Webhook","api":"PUT /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/update-webhook"},{"title":"Delete Webhook","api":"DELETE /api/v1/agents/{agent_id}/webhooks/{webhook_id}","href":"/en/api-reference/endpoints/delete-webhook"},{"title":"Toggle Webhook Status","api":"PATCH /api/v1/agents/{agent_id}/webhooks/{webhook_id}/toggle","href":"/en/api-reference/endpoints/toggle-webhook-status"},{"title":"Test Webhook","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/test","href":"/en/api-reference/endpoints/test-webhook"},{"title":"List Webhook Delivery Logs","api":"GET /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs","href":"/en/api-reference/endpoints/list-webhook-logs"},{"title":"Retry Webhook Delivery","api":"POST /api/v1/agents/{agent_id}/webhooks/{webhook_id}/logs/{log_id}/retry","href":"/en/api-reference/endpoints/retry-webhook-log"}]},{"group":"Billing \u0026 Auto Topup","pages":[{"title":"Get Auto Topup Settings","api":"GET /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/get-auto-topup-settings"},{"title":"Update Auto Topup Settings","api":"PUT /api/v1/auto-topup/settings","href":"/en/api-reference/endpoints/update-auto-topup-settings"},{"title":"Test Auto Topup","api":"POST /api/v1/auto-topup/test","href":"/en/api-reference/endpoints/test-auto-topup"},{"title":"Disable Auto Topup","api":"POST /api/v1/auto-topup/disable","href":"/en/api-reference/endpoints/disable-auto-topup"},{"title":"Get Auto Topup History","api":"GET /api/v1/auto-topup/history","href":"/en/api-reference/endpoints/get-auto-topup-history"},{"title":"List Payment Methods","api":"GET /api/v1/auto-topup/payment-methods","href":"/en/api-reference/endpoints/list-auto-topup-payment-methods"}]},{"group":"Account API","pages":[{"title":"Get Current User","api":"GET /api/user","href":"/en/api-reference/endpoints/get-current-user"},{"title":"List User API Tokens","api":"GET /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/list-user-api-tokens"},{"title":"Create User API Token","api":"POST /api/v1/user/api-tokens","href":"/en/api-reference/endpoints/create-user-api-token"},{"title":"Delete User API Token","api":"DELETE /api/v1/user/api-tokens/{token_id}","href":"/en/api-reference/endpoints/delete-user-api-token"},{"title":"Purchase Credits","api":"POST /api/v1/credits/purchase","href":"/en/api-reference/endpoints/purchase-credits"},{"title":"Get Credits Balance","api":"GET /api/v1/credits/balance","href":"/en/api-reference/endpoints/get-credits-balance"},{"title":"Health Check","api":"GET /api/v1/health","href":"/en/api-reference/endpoints/health"}]}]},{"group":"For debt collection","pages":[{"title":"Debt collection portfolio","href":"/en/api-reference/portfolio/overview"},{"title":"Send portfolio","api":"POST /api/v1/portfolio/debts","href":"/en/api-reference/portfolio/send-debts"},{"title":"Get contract","api":"GET /api/v1/portfolio/debts/{external_debt_id}","href":"/en/api-reference/portfolio/get-debt"},{"title":"Record payment","api":"POST /api/v1/portfolio/debts/{external_debt_id}/payments","href":"/en/api-reference/portfolio/record-payment"},{"title":"Record return","api":"POST /api/v1/portfolio/debts/{external_debt_id}/return","href":"/en/api-reference/portfolio/record-return"},{"title":"Collection cadences","href":"/en/api-reference/portfolio/cadences"},{"title":"Cadence draft","api":"PUT /api/v1/cadences/{id}/draft","href":"/en/api-reference/portfolio/cadence-draft"},{"title":"Publish and versions","api":"POST /api/v1/cadences/{id}/publish","href":"/en/api-reference/portfolio/cadence-lifecycle"},{"title":"General rules and channels","api":"PUT /api/v1/cadences/settings","href":"/en/api-reference/portfolio/cadence-settings"}]},{"group":"Guides","pages":[{"title":"Voice Agent Setup","href":"/en/guides/voice-agent-setup"},{"title":"Call Flow Design","href":"/en/guides/call-flow-design"},{"title":"Voice Agent Setup","href":"/en/guides/integration-examples"},{"title":"Best Practices","href":"/en/guides/best-practices"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-br/api-reference/endpoints/make-campaign-call"}]}]},"basePath":"","title":"Make Campaign Call - Talkover","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js"]}