Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.
Creates a campaign with the contacts file you uploaded to import_id. Verbeo then imports the file in the background: follow it with Get campaign.The campaign is a draft until the import is done. Then you start it, or, if you gave it a scheduled_at, it becomes scheduled and starts at that time on its own.Who may call it: any API key of the workspace; in the dashboard, an owner, admin or developer. The workspace needs the Pro plan.
Body
string
required
The import.id that Reserve an upload answered, once its file has finished uploading. One upload makes one campaign.
string
required
Display name, 1 to 255 characters.
string
required
UUID of the assistant that places every call. It must be your workspace’s.
string
required
UUID of the phone number the calls come from: the caller ID. It must be your workspace’s.
number
default:"0"
How many more times to call a contact that was not reached, from 0 to 6. 2 means up to 3 calls in all. A contact is called again after no answer, voicemail, or a dial that failed or never connected; never after a call that was answered, declined or busy.
number[]
default:"[]"
Minutes to wait before each retry, the first retry first: each from 1 to 10080 (7 days), and no more of them than max_retries. A retry with no interval of its own waits 5 minutes. A retry that falls outside business_hours waits for the next window.
string | null
When to start, as an ISO 8601 date and time with its offset: 2026-11-02T14:00:00Z, or 2026-11-02T09:00:00-05:00 for the same moment. The campaign becomes scheduled once its import is done and starts at this time. Leave it out to start the campaign yourself.
object | null
When calls may be placed. Leave it out, or send null, for any time. Outside these hours a running campaign goes dormant and wakes on its own when the next window opens.
Show business_hours properties
string
required
IANA time zone, e.g. "America/New_York".
number[]
required
The weekdays calls may be placed on: 1 = Monday … 7 = Sunday. At least one. They are stored sorted, each once.
object[]
required
One or more daily windows, each { "start", "end" } in minutes since local midnight, 0 ≤ start < end ≤ 1440: { "start": 540, "end": 1020 } is 9:00 AM to 5:00 PM. Windows may not overlap, and none may cross midnight: split one into two windows on adjacent days.
string | null
A two-letter ISO 3166-1 country code in capitals, e.g. "US", stored with the campaign: the dashboard keeps here the country it read numbers without a country code in. The import does not use it: every number in your file must already be in +E.164.
A refusal creates nothing, and the upload stays yours: fix the request and send it again with the same import_id before the upload expires. A refusal about the file itself (empty, too large, already used, expired) needs a new upload.
Errors
Code
Status
When
VALIDATION_FAILED
422
A field breaks its rule. The message names the first, for example campaign_name: required, max_retries: must be at most 6, retry_intervals: must have at most max_retries intervals, retry_intervals.0: must be at least 1 minute, retry_intervals.0: must be at most 10,080 minutes (7 days), scheduled_at: must be an ISO 8601 date and time, e.g. 2026-11-02T09:30:00Z, default_country: must be a two-letter country code in capitals, e.g. US.
VALIDATION_FAILED
422
business_hours that do not hold up: the first problem, for example business_hours: Pick at least one day for the campaign to run., business_hours: Add at least one time window., business_hours: "Nowhere/Land" is not a valid timezone.
VALIDATION_FAILED
422
agent_id: no agent with this id in the workspace, or phone_number_id: no phone number with this id in the workspace.
VALIDATION_FAILED
422
import_id: no upload with this id in the workspace.
VALIDATION_FAILED
422
The uploaded file cannot be used: The contacts file is empty., or The contacts file is over 50 MB. Reserve again and upload a new file.
CONFLICT
409
The contacts file has not finished uploading. Finish the upload, then create the campaign.
CONFLICT
409
This upload already belongs to a campaign. Upload the file again to create another one.
CONFLICT
409
The upload expired before the campaign was created. Upload the file again.
PAYMENT_REQUIRED
402
Campaigns are a Pro feature. Upgrade this workspace to the Pro plan to create or start a campaign.
FORBIDDEN
403
A dashboard member below developer: Creating a campaign requires the developer, admin or owner role. An API key acts as the owner and never gets it.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Verbeo","colors":{"primary":"#4464fc"},"logo":{"light":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939","dark":"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/dark.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=d014b21fde129ebb2219a485d6866eb1"},"favicon":"https://mintcdn.com/verbeo/fXdZRNykS0gqhRTS/logo/favicon.svg?fit=max\u0026auto=format\u0026n=fXdZRNykS0gqhRTS\u0026q=85\u0026s=22d4421a25945d76ee153d154b360877","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.verbeo.ai/v1"}},"navbar":{"links":[{"href":"mailto:support@verbeo.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.verbeo.ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"verbeo","hasAudioNarration":false,"actualSubdomain":"verbeo","customDomains":["docs.verbeo.ai"],"gitSource":{"type":"github","owner":"harshsimplifygenai","repo":"verbeo-monorepo","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0020a32232714be200e3f8","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":74},{"language":"default","tag":"Knowledge Bases","count":21},{"language":"default","tag":"Campaigns","count":14},{"language":"default","tag":"Files","count":12},{"language":"default","tag":"Phone Numbers","count":12},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Calls","count":10},{"language":"default","tag":"Tools","count":8},{"language":"default","tag":"Assistants","count":7},{"language":"default","tag":"Knowledge bases","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar{width:18rem}"}]}
{"page":{"pagePath":"api-reference/campaign/create","slug":"/api-reference/campaign/create","pageMetadata":{"title":"Create campaign","sidebarTitle":"Create campaign","description":"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.","api":"POST https://api.verbeo.ai/v2/campaign","href":"/api-reference/campaign/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Creates a campaign with the contacts file you `,_jsx(_components.a,{href:`/api-reference/campaign/reserve-import`,children:`uploaded`}),` to `,_jsx(_components.code,{children:`import_id`}),`. Verbeo then imports the file in the background: follow it with `,_jsx(_components.a,{href:`/api-reference/campaign/get`,children:`Get campaign`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The campaign is a `,_jsx(_components.code,{children:`draft`}),` until the import is done. Then you `,_jsx(_components.a,{href:`/api-reference/campaign/start`,children:`start`}),` it, or, if you gave it a `,_jsx(_components.code,{children:`scheduled_at`}),`, it becomes `,_jsx(_components.code,{children:`scheduled`}),` and starts at that time on its own.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Who may call it:`}),` any API key of the workspace; in the dashboard, an owner, admin or developer. The workspace needs the `,_jsx(_components.a,{href:`/api-reference/campaign/overview#who-may-do-what`,children:`Pro plan`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`import_id`,type:`string`,required:true,id:`param-import-id`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`import.id`}),` that `,_jsx(_components.a,{href:`/api-reference/campaign/reserve-import`,children:`Reserve an upload`}),` answered, once its file has finished uploading. One upload makes one campaign.`]})}),`\n`,_jsx(ParamField,{body:`campaign_name`,type:`string`,required:true,id:`param-campaign-name`,children:_jsx(_components.p,{children:`Display name, 1 to 255 characters.`})}),`\n`,_jsx(ParamField,{body:`agent_id`,type:`string`,required:true,id:`param-agent-id`,children:_jsxs(_components.p,{children:[`UUID of the `,_jsx(_components.a,{href:`/api-reference/assistants/overview`,children:`assistant`}),` that places every call. It must be your workspace’s.`]})}),`\n`,_jsx(ParamField,{body:`phone_number_id`,type:`string`,required:true,id:`param-phone-number-id`,children:_jsxs(_components.p,{children:[`UUID of the `,_jsx(_components.a,{href:`/api-reference/phone-numbers/overview`,children:`phone number`}),` the calls come from: the caller ID. It must be your workspace’s.`]})}),`\n`,_jsx(ParamField,{body:`max_retries`,type:`number`,default:`0`,id:`param-max-retries`,children:_jsxs(_components.p,{children:[`How many more times to call a contact that was not reached, from `,_jsx(_components.code,{children:`0`}),` to `,_jsx(_components.code,{children:`6`}),`. `,_jsx(_components.code,{children:`2`}),` means up to 3 calls in all. A contact is called again after no answer, voicemail, or a dial that failed or never connected; never after a call that was answered, declined or busy.`]})}),`\n`,_jsx(ParamField,{body:`retry_intervals`,type:`number[]`,default:`[]`,id:`param-retry-intervals`,children:_jsxs(_components.p,{children:[`Minutes to wait before each retry, the first retry first: each from `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`10080`}),` (7 days), and no more of them than `,_jsx(_components.code,{children:`max_retries`}),`. A retry with no interval of its own waits 5 minutes. A retry that falls outside `,_jsx(_components.code,{children:`business_hours`}),` waits for the next window.`]})}),`\n`,_jsx(ParamField,{body:`scheduled_at`,type:`string | null`,id:`param-scheduled-at`,children:_jsxs(_components.p,{children:[`When to start, as an ISO 8601 date and time with its offset: `,_jsx(_components.code,{children:`2026-11-02T14:00:00Z`}),`, or `,_jsx(_components.code,{children:`2026-11-02T09:00:00-05:00`}),` for the same moment. The campaign becomes `,_jsx(_components.code,{children:`scheduled`}),` once its import is done and starts at this time. Leave it out to `,_jsx(_components.a,{href:`/api-reference/campaign/start`,children:`start`}),` the campaign yourself.`]})}),`\n`,_jsxs(ParamField,{body:`business_hours`,type:`object | null`,id:`param-business-hours`,children:[_jsxs(_components.p,{children:[`When calls may be placed. Leave it out, or send `,_jsx(_components.code,{children:`null`}),`, for any time. Outside these hours a running campaign goes `,_jsx(_components.code,{children:`dormant`}),` and wakes on its own when the next window opens.`]}),_jsxs(Expandable,{title:`business_hours properties`,children:[_jsx(ParamField,{body:`tz`,type:`string`,required:true,id:`param-tz`,children:_jsxs(_components.p,{children:[`IANA time zone, e.g. `,_jsx(_components.code,{children:`\"America/New_York\"`}),`.`]})}),_jsx(ParamField,{body:`days`,type:`number[]`,required:true,id:`param-days`,children:_jsxs(_components.p,{children:[`The weekdays calls may be placed on: `,_jsx(_components.code,{children:`1`}),` = Monday … `,_jsx(_components.code,{children:`7`}),` = Sunday. At least one. They are stored sorted, each once.`]})}),_jsx(ParamField,{body:`windows`,type:`object[]`,required:true,id:`param-windows`,children:_jsxs(_components.p,{children:[`One or more daily windows, each `,_jsx(_components.code,{children:`{ \"start\", \"end\" }`}),` in `,_jsx(_components.strong,{children:`minutes since local midnight`}),`, `,_jsx(_components.code,{children:`0 ≤ start \u003c end ≤ 1440`}),`: `,_jsx(_components.code,{children:`{ \"start\": 540, \"end\": 1020 }`}),` is 9:00 AM to 5:00 PM. Windows may not overlap, and none may cross midnight: split one into two windows on adjacent days.`]})})]})]}),`\n`,_jsx(ParamField,{body:`default_country`,type:`string | null`,id:`param-default-country`,children:_jsxs(_components.p,{children:[`A two-letter ISO 3166-1 country code in capitals, e.g. `,_jsx(_components.code,{children:`\"US\"`}),`, stored with the campaign: the dashboard keeps here the country it read numbers without a country code in. The import does not use it: every number in your file must already be in +E.164.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_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:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.verbeo.ai/v2/campaign\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"import_id\": \"9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"campaign_name\": \"Spring renewals\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"550e8400-e29b-41d4-a716-446655440000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phone_number_id\": \"7d9f3b52-4c1e-4a8e-9b1a-2f6c0d4e8a11\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_retries\": 2,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"retry_intervals\": [30, 120],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"scheduled_at\": \"2026-11-02T14:00:00Z\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"business_hours\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tz\": \"America/New_York\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"days\": [1, 2, 3, 4, 5],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"windows\": [{ \"start\": 540, \"end\": 1020 }]`})}),`\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`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201 Created`}),` with the `,_jsx(_components.a,{href:`/api-reference/campaign/overview#the-campaign-object`,children:`campaign object`}),`: a `,_jsx(_components.code,{children:`draft`}),` with no contacts yet, its import `,_jsx(_components.code,{children:`queued`}),` (or already `,_jsx(_components.code,{children:`importing`}),`, when Verbeo picked it up at once).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`34`,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:`34`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0175091d-2c3b-4aef-8c45-dbbe24f7b3ff\"`}),_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_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Spring renewals\"`}),_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:`\"draft\"`}),_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:` \"total_contacts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"max_retries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` \"retry_intervals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_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:`\"2026-11-02T14:00:00+00:00\"`}),_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:` \"business_hours\"`}),_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:` \"tz\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"America/New_York\"`}),_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:` \"days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"windows\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`540`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1020`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"import\"`}),_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:`\"9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b\"`}),_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:` \"file_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"contacts.ndjson\"`}),_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:` \"file_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`164`}),_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:` \"expected_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_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:` \"total_lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"lines_read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"contacts_added\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"rows_skipped\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"skipped\"`}),_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:` \"error_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"attempts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:`\"2026-11-02T08:58:30.000123+00:00\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-02T09:00:00.123456+00:00\"`})]}),`\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:` \"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"the rest of the campaign object\"`})]}),`\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:[`A refusal creates nothing, and the upload stays yours: fix the request and send it again with the same `,_jsx(_components.code,{children:`import_id`}),` before the upload expires. A refusal about the file itself (empty, too large, already used, expired) needs a new upload.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`A field breaks its rule. The message names the first, for example `,_jsx(_components.code,{children:`campaign_name: required`}),`, `,_jsx(_components.code,{children:`max_retries: must be at most 6`}),`, `,_jsx(_components.code,{children:`retry_intervals: must have at most max_retries intervals`}),`, `,_jsx(_components.code,{children:`retry_intervals.0: must be at least 1 minute`}),`, `,_jsx(_components.code,{children:`retry_intervals.0: must be at most 10,080 minutes (7 days)`}),`, `,_jsx(_components.code,{children:`scheduled_at: must be an ISO 8601 date and time, e.g. 2026-11-02T09:30:00Z`}),`, `,_jsx(_components.code,{children:`default_country: must be a two-letter country code in capitals, e.g. US`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`business_hours`}),` that do not hold up: the first problem, for example `,_jsx(_components.code,{children:`business_hours: Pick at least one day for the campaign to run.`}),`, `,_jsx(_components.code,{children:`business_hours: Add at least one time window.`}),`, `,_jsx(_components.code,{children:`business_hours: \"Nowhere/Land\" is not a valid timezone.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`agent_id: no agent with this id in the workspace`}),`, or `,_jsx(_components.code,{children:`phone_number_id: no phone number with this id in the workspace`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`import_id: no upload with this id in the workspace`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VALIDATION_FAILED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsxs(_components.td,{children:[`The uploaded file cannot be used: `,_jsx(_components.code,{children:`The contacts file is empty.`}),`, or `,_jsx(_components.code,{children:`The contacts file is over 50 MB.`}),` Reserve again and upload a new file.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CONFLICT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The contacts file has not finished uploading. Finish the upload, then create the campaign.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CONFLICT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`This upload already belongs to a campaign. Upload the file again to create another one.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CONFLICT`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The upload expired before the campaign was created. Upload the file again.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PAYMENT_REQUIRED`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Campaigns are a Pro feature. Upgrade this workspace to the Pro plan to create or start a campaign.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsxs(_components.td,{children:[`A dashboard member below developer: `,_jsx(_components.code,{children:`Creating a campaign requires the developer, admin or owner role`}),`. An API key acts as the owner and never gets it.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`And the `,_jsx(_components.a,{href:`/api-reference/campaign/overview#errors-every-route-can-give`,children:`errors every route can give`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create campaign","sidebarTitle":"Create campaign","description":"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.","api":"POST https://api.verbeo.ai/v2/campaign","href":"/api-reference/campaign/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create campaign","path":"/v2/campaign","servers":[{"url":"https://api.verbeo.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"import_id":[{"type":"string","description":"The `import.id` that Reserve an upload answered, once its file has finished uploading. One upload makes one campaign.","required":true}],"campaign_name":[{"type":"string","description":"Display name, 1 to 255 characters.","required":true}],"agent_id":[{"type":"string","description":"UUID of the assistant that places every call. It must be your workspace’s.","required":true}],"phone_number_id":[{"type":"string","description":"UUID of the phone number the calls come from: the caller ID. It must be your workspace’s.","required":true}],"max_retries":[{"type":"number","description":"How many more times to call a contact that was not reached, from `0` to `6` . `2` means up to 3 calls in all. A contact is called again after no answer, voicemail, or a dial that failed or never connected; never after a call that was answered, declined or busy."}],"retry_intervals":[{"type":"array","items":[{"type":"number"}],"description":"Minutes to wait before each retry, the first retry first: each from `1` to `10080` (7 days), and no more of them than `max_retries` . A retry with no interval of its own waits 5 minutes. A retry that falls outside `business_hours` waits for the next window."}],"scheduled_at":[{"type":"object","properties":{},"description":"When to start, as an ISO 8601 date and time with its offset: `2026-11-02T14:00:00Z` , or `2026-11-02T09:00:00-05:00` for the same moment. The campaign becomes `scheduled` once its import is done and starts at this time. Leave it out to start the campaign yourself."}],"business_hours":[{"type":"object","properties":{"tz":[{"type":"string","description":"IANA time zone, e.g. `\"America/New_York\"` .","required":true}],"days":[{"type":"array","items":[{"type":"number"}],"description":"The weekdays calls may be placed on: `1` = Monday … `7` = Sunday. At least one. They are stored sorted, each once.","required":true}],"windows":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"One or more daily windows, each `{ \"start\", \"end\" }` in minutes since local midnight , `0 ≤ start \u003c end ≤ 1440` : `{ \"start\": 540, \"end\": 1020 }` is 9:00 AM to 5:00 PM. Windows may not overlap, and none may cross midnight: split one into two windows on adjacent days.","required":true}]},"description":"When calls may be placed. Leave it out, or send `null` , for any time. Outside these hours a running campaign goes `dormant` and wakes on its own when the next window opens."}],"default_country":[{"type":"object","properties":{},"description":"A two-letter ISO 3166-1 country code in capitals, e.g. `\"US\"` , stored with the campaign: the dashboard keeps here the country it read numbers without a country code in. The import does not use it: every number in your file must already be in +E.164."}]}}],"examples":{"example":{"value":{"import_id":"\u003cstring>","campaign_name":"\u003cstring>","agent_id":"\u003cstring>","phone_number_id":"\u003cstring>","max_retries":123,"retry_intervals":[123],"scheduled_at":{},"business_hours":{"tz":"\u003cstring>","days":[123],"windows":[{}]},"default_country":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"verbeo","siteName":"Verbeo","title":"Create campaign - Verbeo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T06:32:22.156Z","originalFileLocation":"api-reference/campaign/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create campaign - Verbeo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verbeo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verbeo.ai/api-reference/campaign/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Create+campaign\u0026amp;description=Create+a+campaign+from+a+contacts+file+you+uploaded%3A+the+assistant%2C+the+number+to+call+from%2C+retries%2C+an+optional+start+time+and+business+hours.+It+is+a+draft+u\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=5d4826a6acd122798f6e82424fb7978223919d1983b01ba01fa82d51a1eaf49a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create campaign - Verbeo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Create+campaign\u0026amp;description=Create+a+campaign+from+a+contacts+file+you+uploaded%3A+the+assistant%2C+the+number+to+call+from%2C+retries%2C+an+optional+start+time+and+business+hours.+It+is+a+draft+u\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=5d4826a6acd122798f6e82424fb7978223919d1983b01ba01fa82d51a1eaf49a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/verbeo/Kw0I2hKJmqnmFXDw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verbeo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4464fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verbeo.ai/api-reference/campaign/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaign/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verbeo.ai/#organization\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/verbeo/KF7N9-PTUQJPGPt1/logo/light.svg?fit=max\u0026auto=format\u0026n=KF7N9-PTUQJPGPt1\u0026q=85\u0026s=1c9b8be25c250e426ac9d1f189b92939\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verbeo.ai#website\",\"name\":\"Verbeo\",\"url\":\"https://docs.verbeo.ai\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/create#webpage\",\"url\":\"https://docs.verbeo.ai/api-reference/campaign/create\",\"name\":\"Create campaign\",\"description\":\"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\",\"dateModified\":\"2026-10-29T06:32:22.156Z\",\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.verbeo.ai/api-reference/campaign/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create campaign\",\"item\":\"https://docs.verbeo.ai/api-reference/campaign/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/create#apireference\",\"headline\":\"Create campaign\",\"name\":\"Create campaign\",\"description\":\"Create a campaign from a contacts file you uploaded: the assistant, the number to call from, retries, an optional start time and business hours. It is a draft until its contacts are imported.\",\"url\":\"https://docs.verbeo.ai/api-reference/campaign/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/create#webpage\"},\"dateModified\":\"2026-10-29T06:32:22.156Z\",\"publisher\":{\"@id\":\"https://docs.verbeo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verbeo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verbeo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/campaign/create.md","siteName":"Verbeo","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Verbeo REST API overview","href":"/api-reference/overview"},{"title":"API authentication and keys","href":"/api-reference/authentication"},{"title":"Responses","href":"/api-reference/responses"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Assistants","icon":"robot","pages":[{"title":"Assistants","sidebarTitle":"Overview","href":"/api-reference/assistants/overview"},{"title":"List assistants","sidebarTitle":"List assistants","api":"POST /assistant/list","href":"/api-reference/assistants/list"},{"title":"Create assistant","sidebarTitle":"Create assistant","api":"POST /assistant","href":"/api-reference/assistants/create"},{"title":"Get assistant","sidebarTitle":"Get assistant","api":"GET /assistant/{id}","href":"/api-reference/assistants/get"},{"title":"Update assistant","sidebarTitle":"Update assistant","api":"PATCH /assistant/{id}","href":"/api-reference/assistants/update"},{"title":"Replace assistant","sidebarTitle":"Replace assistant","api":"PUT /assistant/{id}","href":"/api-reference/assistants/replace"},{"title":"Delete assistant","sidebarTitle":"Delete assistant","api":"DELETE /assistant/{id}","href":"/api-reference/assistants/delete"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/api-reference/tools/overview"},{"title":"List tools","sidebarTitle":"List tools","api":"POST /tool/list","href":"/api-reference/tools/list"},{"title":"Get tool","sidebarTitle":"Get tool","api":"GET /tool/{id}","href":"/api-reference/tools/get"},{"title":"Create custom tool","sidebarTitle":"Create custom tool","api":"POST /tool/custom","href":"/api-reference/tools/create-custom"},{"title":"Update custom tool","sidebarTitle":"Update custom tool","api":"PUT /tool/custom/{id}","href":"/api-reference/tools/update-custom"},{"title":"Create native tool","sidebarTitle":"Create native tool","api":"POST /tool/native","href":"/api-reference/tools/create-native"},{"title":"Update native tool","sidebarTitle":"Update native tool","api":"PUT /tool/native/{id}","href":"/api-reference/tools/update-native"},{"title":"Delete tool","sidebarTitle":"Delete tool","api":"DELETE /tool/{id}","href":"/api-reference/tools/delete"}]},{"group":"Knowledge Bases","icon":"book","pages":[{"title":"Knowledge Bases","sidebarTitle":"Overview","href":"/api-reference/knowledge-bases/overview"},{"group":"Knowledge bases","pages":[{"title":"List knowledge bases","sidebarTitle":"List knowledge bases","api":"GET /knowledge-base","href":"/api-reference/knowledge-bases/list"},{"title":"Create knowledge base","sidebarTitle":"Create knowledge base","api":"POST /knowledge-base","href":"/api-reference/knowledge-bases/create"},{"title":"Get knowledge base","sidebarTitle":"Get knowledge base","api":"GET /knowledge-base/{id}","href":"/api-reference/knowledge-bases/get"},{"title":"Update description","sidebarTitle":"Update description","api":"PUT /knowledge-base/{id}","href":"/api-reference/knowledge-bases/update"},{"title":"Write description from files","sidebarTitle":"Write description","api":"POST /knowledge-base/{id}/description","href":"/api-reference/knowledge-bases/write-description"},{"title":"Delete knowledge base","sidebarTitle":"Delete knowledge base","api":"DELETE /knowledge-base/{id}","href":"/api-reference/knowledge-bases/delete"},{"title":"Usage and limits","sidebarTitle":"Usage and limits","api":"GET /knowledge-base/usage","href":"/api-reference/knowledge-bases/usage"}]},{"group":"Files","pages":[{"title":"List files","sidebarTitle":"List files","api":"GET /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/list-files"},{"title":"Upload files","sidebarTitle":"Upload files","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-files"},{"title":"Upload through a link","sidebarTitle":"Upload through a link","api":"POST /knowledge-base/{id}/files","href":"/api-reference/knowledge-bases/upload-link"},{"title":"Add text or FAQs","sidebarTitle":"Add text or FAQs","api":"POST /knowledge-base/{id}/texts","href":"/api-reference/knowledge-bases/add-text"},{"title":"Get file","sidebarTitle":"Get file","api":"GET /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/get-file"},{"title":"Replace file","sidebarTitle":"Replace file","api":"POST /knowledge-base/files/{fileId}/replace","href":"/api-reference/knowledge-bases/replace-file"},{"title":"Edit a text or FAQ list","sidebarTitle":"Edit text or FAQs","api":"PUT /knowledge-base/files/{fileId}/text","href":"/api-reference/knowledge-bases/edit-text"},{"title":"Retry failed files","sidebarTitle":"Retry failed files","api":"POST /knowledge-base/{id}/files/retry","href":"/api-reference/knowledge-bases/retry-files"},{"title":"Download file","sidebarTitle":"Download file","api":"GET /knowledge-base/files/{fileId}/download","href":"/api-reference/knowledge-bases/download"},{"title":"File passages","sidebarTitle":"File passages","api":"GET /knowledge-base/files/{fileId}/passages","href":"/api-reference/knowledge-bases/passages"},{"title":"Delete file","sidebarTitle":"Delete file","api":"DELETE /knowledge-base/files/{fileId}","href":"/api-reference/knowledge-bases/delete-file"},{"title":"Delete files","sidebarTitle":"Delete files","api":"POST /knowledge-base/{id}/files/delete","href":"/api-reference/knowledge-bases/delete-files"}]},{"title":"Test a search","sidebarTitle":"Test a search","api":"POST /knowledge-base/search","href":"/api-reference/knowledge-bases/search"}]},{"group":"Phone Numbers","icon":"phone","pages":[{"title":"Phone numbers","sidebarTitle":"Overview","href":"/api-reference/phone-numbers/overview"},{"title":"List phone numbers","sidebarTitle":"List phone numbers","api":"POST /phone-number/list","href":"/api-reference/phone-numbers/list"},{"title":"Get phone number","sidebarTitle":"Get phone number","api":"GET /phone-number/{id}","href":"/api-reference/phone-numbers/get"},{"title":"Connect a SIP-trunk number","sidebarTitle":"Connect SIP trunk","api":"POST /phone-number/sip","href":"/api-reference/phone-numbers/connect-sip"},{"title":"Import a Twilio number","sidebarTitle":"Import Twilio number","api":"POST /phone-number/twilio","href":"/api-reference/phone-numbers/import-twilio"},{"title":"Configure a Twilio number's webhook","sidebarTitle":"Configure Twilio webhook","api":"POST /phone-number/{id}/twilio-webhook","href":"/api-reference/phone-numbers/twilio-webhook"},{"title":"Update phone number","sidebarTitle":"Update phone number","api":"PUT /phone-number/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Delete phone number","sidebarTitle":"Delete phone number","api":"DELETE /phone-number/{id}","href":"/api-reference/phone-numbers/delete"}]},{"group":"Calls","icon":"phone-volume","pages":[{"title":"Create phone call","sidebarTitle":"Create phone call","api":"POST https://api.verbeo.ai/v2/call","href":"/api-reference/calls/create"},{"title":"List calls","sidebarTitle":"List calls","api":"POST https://api.verbeo.ai/v2/call/list","href":"/api-reference/calls/list-v2"},{"title":"Get call","sidebarTitle":"Get call","api":"GET https://api.verbeo.ai/v2/call/{id}","href":"/api-reference/calls/get-v2"},{"title":"Get a call's tool executions","sidebarTitle":"Tool executions","api":"GET https://api.verbeo.ai/v2/call/{id}/tool-executions","href":"/api-reference/calls/tool-executions"},{"title":"Get call fields in bulk","sidebarTitle":"Fields in bulk","api":"POST https://api.verbeo.ai/v2/call/extras","href":"/api-reference/calls/fields"},{"title":"Get concurrency","sidebarTitle":"Concurrency","api":"GET https://api.verbeo.ai/v2/call/concurrency","href":"/api-reference/calls/concurrency"},{"title":"Fix transcript","sidebarTitle":"Fix transcript","api":"POST https://api.verbeo.ai/v2/call/{id}/transcript","href":"/api-reference/calls/fix-transcript"},{"title":"Get a call's webhook deliveries","sidebarTitle":"Webhook deliveries","api":"GET https://api.verbeo.ai/v2/call/{id}/webhook-logs","href":"/api-reference/calls/webhook-logs"},{"title":"Resend webhooks","sidebarTitle":"Resend webhooks","api":"POST https://api.verbeo.ai/v2/call/{id}/webhooks/resend","href":"/api-reference/calls/resend-webhooks"},{"title":"POST /calls — Create a phone call (v1)","sidebarTitle":"Create phone call (v1)","href":"/api-reference/calls/initiate"}]},{"group":"Campaigns","icon":"bullhorn","pages":[{"title":"Campaigns","sidebarTitle":"Overview","href":"/api-reference/campaign/overview"},{"title":"List campaigns","sidebarTitle":"List campaigns","api":"POST https://api.verbeo.ai/v2/campaign/list","href":"/api-reference/campaign/list"},{"title":"Reserve an upload","sidebarTitle":"Reserve an upload","description":"Reserve a slot for a campaign's contacts file and get the link to upload it to: the first step of creating a campaign.","api":"POST https://api.verbeo.ai/v2/campaign/imports","href":"/api-reference/campaign/reserve-import"},{"title":"Create campaign","sidebarTitle":"Create campaign","api":"POST https://api.verbeo.ai/v2/campaign","href":"/api-reference/campaign/create"},{"title":"Get campaign","sidebarTitle":"Get campaign","description":"Read one campaign, with its counters and its import's progress: lines read of the total, contacts added, and the lines skipped with their reasons.","api":"GET https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/get"},{"title":"Update campaign","sidebarTitle":"Update campaign","api":"PUT https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/update"},{"title":"Delete campaign","sidebarTitle":"Delete campaign","api":"DELETE https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/delete"},{"title":"Start campaign","sidebarTitle":"Start campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/start","href":"/api-reference/campaign/start"},{"title":"Pause campaign","sidebarTitle":"Pause campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/pause","href":"/api-reference/campaign/pause"},{"title":"Resume campaign","sidebarTitle":"Resume campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/resume","href":"/api-reference/campaign/resume"},{"title":"Cancel campaign","sidebarTitle":"Cancel campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/cancel","href":"/api-reference/campaign/cancel"},{"title":"Retry import","sidebarTitle":"Retry import","api":"POST https://api.verbeo.ai/v2/campaign/{id}/import/retry","href":"/api-reference/campaign/retry-import"},{"title":"List contacts","sidebarTitle":"List contacts","api":"POST https://api.verbeo.ai/v2/campaign/{id}/contacts","href":"/api-reference/campaign/contacts"},{"title":"Contact counts","sidebarTitle":"Contact counts","api":"GET https://api.verbeo.ai/v2/campaign/{id}/stats","href":"/api-reference/campaign/stats"}]},{"group":"Webhooks","icon":"bolt","pages":[{"title":"Webhook events","href":"/api-reference/webhooks/events"},{"title":"Tool call webhooks","href":"/api-reference/webhooks/tool-calls"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/concepts/phone-numbers"}]}]},"basePath":"","title":"Create campaign - Verbeo","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js"]}