Use llm_dynamic_variable to pass prompt variables for each recipient.A 202 response includes campaign_id and accepted_count.
Scheduling
Use an IANA timezone such as Asia/Kolkata.
Weekdays use Monday=1 through Sunday=7. Sunday is removed from mixed lists, so [1, 7] schedules Monday only. Empty and Sunday-only lists are rejected. Omit days or pass null to use Monday through Saturday.
start must precede end within the daily calling window. Omitted or null times default to 10:00 and 21:00.
Omitted or nullstart_date defaults to the current UTC date, interpreted for scheduling in the chosen timezone. Send an explicit date when the distinction matters.
max_attempts supports 1–4 and defaults to 1. For multiple attempts, set time_gap_between_attempts to at least 1 minute.
Omit end_date and max_concurrent_dials, or pass null, to leave them unset.
Cancellation stops future calls. It does not promise to terminate calls already in progress. Inactive and completed campaigns cannot be updated.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Karta API","description":"Public API documentation for Karta","colors":{"primary":"#FF8256","light":"#FF8256","dark":"#FF8256"},"logo":{"light":"https://mintcdn.com/karta-ai/yiE-h5kOgKoDT-G-/logo/light.svg?fit=max\u0026auto=format\u0026n=yiE-h5kOgKoDT-G-\u0026q=85\u0026s=8df96a7426f71bb793915ed039564b6b","dark":"https://mintcdn.com/karta-ai/yiE-h5kOgKoDT-G-/logo/dark.svg?fit=max\u0026auto=format\u0026n=yiE-h5kOgKoDT-G-\u0026q=85\u0026s=18f9f0036a7fc5dc01d890b1e9bf2e16"},"favicon":"https://mintcdn.com/karta-ai/dUWfvinbcsvHjZta/favicon.ico?fit=max\u0026auto=format\u0026n=dUWfvinbcsvHjZta\u0026q=85\u0026s=e13cab584c9db65ef254944157ea4359","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","python","javascript"]}},"navbar":{"links":[{"href":"mailto:support@getkarta.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.getkarta.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/getkarta"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"karta-ai","hasAudioNarration":false,"actualSubdomain":"karta-ai","customDomains":["docs.getkarta.ai"],"gitSource":{"type":"github","owner":"getkarta","repo":"karta-public-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae04eb359d1c248245fb90a","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"API reference","count":16},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Voice","count":4},{"language":"default","tag":"Agents","count":3},{"language":"default","tag":"Calls","count":3},{"language":"default","tag":"Campaigns","count":3},{"language":"default","tag":"Account","count":2},{"language":"default","tag":"Billing","count":2},{"language":"default","tag":"Webhooks","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/campaigns","slug":"/guides/campaigns","pageMetadata":{"title":"Schedule a campaign","description":null,"href":"/guides/campaigns"},"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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A campaign schedules outbound calls to multiple recipients. Choose a configured agent and an eligible caller number from `,_jsx(_components.code,{children:`GET /voice/phone-numbers`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Campaign creation can schedule real, billable calls. Start with a single destination you control.`})}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-campaign`,children:`Create a campaign`}),`\n`,_jsxs(_components.p,{children:[`Save a unique `,_jsx(_components.code,{children:`CAMPAIGN_REQUEST_ID`}),` before submitting. Preserve it with the original body for retries.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,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:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fail-with-body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.getkarta.ai/public/v1/voice/campaigns'`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KARTA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` \"X-Request-ID: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CAMPAIGN_REQUEST_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` \"campaign_name\": \"Example follow-up\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"agentexample\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_number\": \"+12025550124\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_attempts\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"call_window\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"time_zone\": \"Asia/Kolkata\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"days\": [1, 2, 3, 4, 5, 6],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start\": \"10:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"end\": \"18:00\"`})}),`\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:` \"call_details\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_number\": \"+12025550123\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"llm_dynamic_variable\": {\"customer_name\": \"Alex\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transit_data\": {\"external_id\": \"example-001\"}`})}),`\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`]})})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`llm_dynamic_variable`}),` to pass prompt variables for each recipient.`]}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`202`}),` response includes `,_jsx(_components.code,{children:`campaign_id`}),` and `,_jsx(_components.code,{children:`accepted_count`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`scheduling`,children:`Scheduling`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use an IANA timezone such as `,_jsx(_components.code,{children:`Asia/Kolkata`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Weekdays use Monday=1 through Sunday=7. Sunday is removed from mixed lists, so `,_jsx(_components.code,{children:`[1, 7]`}),` schedules Monday only. Empty and Sunday-only lists are rejected. Omit `,_jsx(_components.code,{children:`days`}),` or pass `,_jsx(_components.code,{children:`null`}),` to use Monday through Saturday.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`start`}),` must precede `,_jsx(_components.code,{children:`end`}),` within the daily calling window. Omitted or `,_jsx(_components.code,{children:`null`}),` times default to `,_jsx(_components.code,{children:`10:00`}),` and `,_jsx(_components.code,{children:`21:00`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Omitted or `,_jsx(_components.code,{children:`null`}),` `,_jsx(_components.code,{children:`start_date`}),` defaults to the current UTC date, interpreted for scheduling in the chosen timezone. Send an explicit date when the distinction matters.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`max_attempts`}),` supports 1–4 and defaults to 1. For multiple attempts, set `,_jsx(_components.code,{children:`time_gap_between_attempts`}),` to at least 1 minute.`]}),`\n`,_jsxs(_components.li,{children:[`Omit `,_jsx(_components.code,{children:`end_date`}),` and `,_jsx(_components.code,{children:`max_concurrent_dials`}),`, or pass `,_jsx(_components.code,{children:`null`}),`, to leave them unset.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`list-campaigns`,children:`List campaigns`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fail-with-body`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.getkarta.ai/public/v1/voice/campaigns?limit=20'`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KARTA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Follow `,_jsx(_components.code,{children:`next_token`}),` until it is null. Statuses include `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`running`}),`, `,_jsx(_components.code,{children:`inactive`}),`, and `,_jsx(_components.code,{children:`completed`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cancel-future-calls`,children:`Cancel future calls`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fail-with-body`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.getkarta.ai/public/v1/voice/campaigns/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$CAMPAIGN_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$KARTA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` '{\"status\":\"inactive\"}'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Cancellation stops future calls. It does not promise to terminate calls already in progress. Inactive and completed campaigns cannot be updated.`})]})}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":"Schedule a campaign","description":null,"href":"/guides/campaigns"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a campaign","slug":"create-a-campaign","depth":2,"children":[]},{"title":"Scheduling","slug":"scheduling","depth":2,"children":[]},{"title":"List campaigns","slug":"list-campaigns","depth":2,"children":[]},{"title":"Cancel future calls","slug":"cancel-future-calls","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"karta-ai","siteName":"Karta API","title":"Schedule a campaign - Karta API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T12:12:34.552Z","originalFileLocation":"guides/campaigns.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Karta API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_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/karta-ai/uk0rRc4uKsjKwtaR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Schedule a campaign - Karta API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Karta API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getkarta.ai/guides/campaigns\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://karta-ai.mintlify.site/_mintlify/api/og/v2?division=Voice\u0026amp;title=Schedule+a+campaign\u0026amp;theme=1a84d298eeb1b9a7917fc4bf\u0026amp;signature=ef6fe9998081d96ef1ccae141645695f41023aaef51c9da6c0dcc622de4a7ffb\">\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=\"Schedule a campaign - Karta API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://karta-ai.mintlify.site/_mintlify/api/og/v2?division=Voice\u0026amp;title=Schedule+a+campaign\u0026amp;theme=1a84d298eeb1b9a7917fc4bf\u0026amp;signature=ef6fe9998081d96ef1ccae141645695f41023aaef51c9da6c0dcc622de4a7ffb\">\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/karta-ai/uk0rRc4uKsjKwtaR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Karta API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF8256\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getkarta.ai/guides/campaigns\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/campaigns.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getkarta.ai/#organization\",\"name\":\"Karta API\",\"url\":\"https://docs.getkarta.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/karta-ai/yiE-h5kOgKoDT-G-/logo/light.svg?fit=max\u0026auto=format\u0026n=yiE-h5kOgKoDT-G-\u0026q=85\u0026s=8df96a7426f71bb793915ed039564b6b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getkarta.ai#website\",\"name\":\"Karta API\",\"url\":\"https://docs.getkarta.ai\",\"publisher\":{\"@id\":\"https://docs.getkarta.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getkarta.ai/guides/campaigns#webpage\",\"url\":\"https://docs.getkarta.ai/guides/campaigns\",\"name\":\"Schedule a campaign\",\"dateModified\":\"2026-10-09T12:12:34.552Z\",\"isPartOf\":{\"@id\":\"https://docs.getkarta.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getkarta.ai/guides/campaigns#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getkarta.ai/guides/campaigns#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Voice\",\"item\":\"https://docs.getkarta.ai/guides/phone-calls\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Schedule a campaign\",\"item\":\"https://docs.getkarta.ai/guides/campaigns\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getkarta.ai/guides/campaigns#article\",\"headline\":\"Schedule a campaign\",\"name\":\"Schedule a campaign\",\"url\":\"https://docs.getkarta.ai/guides/campaigns\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getkarta.ai/guides/campaigns#webpage\"},\"dateModified\":\"2026-10-09T12:12:34.552Z\",\"publisher\":{\"@id\":\"https://docs.getkarta.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getkarta.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Karta API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Karta API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/campaigns.md","siteName":"Karta API","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Authentication","href":"/authentication"},{"title":"Errors","href":"/errors"},{"title":"Idempotency","href":"/idempotency"}]},{"group":"Voice","pages":[{"title":"Make a phone call","description":"Create a new outbound phone call.","href":"/guides/phone-calls"},{"title":"Schedule a campaign","href":"/guides/campaigns"},{"title":"Create a WebSocket session","description":"Connect to a voice agent using a WebSocket URL.","href":"/guides/realtime"},{"title":"Review agent logs","href":"/guides/agent-logs"}]},{"group":"Account","pages":[{"title":"Credits and transactions","href":"/guides/billing"}]},{"group":"Webhooks","pages":[{"title":"Receive call webhooks","href":"/guides/webhooks/overview"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/overview"}]}]},"basePath":"","title":"Schedule a campaign - Karta API","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}