Reserves a slot for one contacts file and answers with where to upload it. Upload the file there, then create the campaign with the slot’s import.id. Nothing is created before that, so an upload that fails leaves no campaign behind.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
Your name for the file, 1 to 255 characters. It is shown with the campaign; the file is stored under a name Verbeo chooses.
number
required
The file’s size in bytes, from 1 to 52428800 (50 MB). wc -c < contacts.ndjson prints it. Once the campaign is created, the size it holds is the one stored.
number
How many contacts the file holds, from 1 to 100000. It is shown as the import’s expected_count until Verbeo has counted the lines.
Where to upload the whole file with one PUT. Use it exactly as given.
string
required
Always application/x-ndjson: the Content-Type to upload with.
string
required
When the link stops working, 2 hours after the reserve. Create the campaign before then.
string
required
For a resumable (TUS) upload, the way the dashboard sends the file: in 6 MB pieces, with upload.token as the x-signature header, and bucketName, objectName and contentType set to upload.bucket, upload.path and upload.content_type.
Send only the Content-Type. The link goes to Verbeo’s file storage, not to api.verbeo.ai; the token in it is the credential, so no API key goes with it.
A 2xx answer means the file is stored. The storage takes files of up to 50 MB, of type application/x-ndjson only.
Use --data-binary. curl’s -d strips the newlines between the lines, which turns the whole file into one line that is not a contact.
Errors
Code
Status
When
VALIDATION_FAILED
422
A file_name that is empty (file_name: required) or longer than 255 characters (file_name: must be at most 255 characters). A file_size below 1 byte (file_size: must be at least 1 byte), not whole (file_size: must be a whole number of bytes) or over 50 MB (file_size: must be at most 50 MB (52,428,800 bytes)). A contact_count below 1 (contact_count: must be at least 1), not whole (contact_count: must be a whole number) or over the limit (contact_count: must be at most 100,000).
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: Uploading a contacts file requires the developer, admin or owner role. An API key acts as the owner and never gets it.
INTERNAL_ERROR
500
The upload could not be started. Try again in a moment. The storage gave no link, and nothing is kept.
{"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/reserve-import","slug":"/api-reference/campaign/reserve-import","pageMetadata":{"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"},"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: \"Reserve a slot for a campaign’s contacts file and get the link to upload it to: the first step of creating a campaign.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Reserves a slot for one contacts file and answers with where to upload it. Upload the file there, then `,_jsx(_components.a,{href:`/api-reference/campaign/create`,children:`create the campaign`}),` with the slot’s `,_jsx(_components.code,{children:`import.id`}),`. Nothing is created before that, so an upload that fails leaves no campaign behind.`]}),`\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:`file_name`,type:`string`,required:true,id:`param-file-name`,children:_jsx(_components.p,{children:`Your name for the file, 1 to 255 characters. It is shown with the campaign; the file is stored under a name Verbeo chooses.`})}),`\n`,_jsx(ParamField,{body:`file_size`,type:`number`,required:true,id:`param-file-size`,children:_jsxs(_components.p,{children:[`The file’s size in bytes, from `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`52428800`}),` (50 MB). `,_jsx(_components.code,{children:`wc -c \u003c contacts.ndjson`}),` prints it. Once the campaign is created, the size it holds is the one stored.`]})}),`\n`,_jsx(ParamField,{body:`contact_count`,type:`number`,id:`param-contact-count`,children:_jsxs(_components.p,{children:[`How many contacts the file holds, from `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`100000`}),`. It is shown as the import’s `,_jsx(_components.code,{children:`expected_count`}),` until Verbeo has counted the lines.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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/imports\"`}),_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:` '{ \"file_name\": \"contacts.ndjson\", \"file_size\": 164, \"contact_count\": 2 }'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201 Created`}),`: the upload’s `,_jsx(_components.a,{href:`/api-reference/campaign/overview#the-import-object`,children:`import object`}),`, and where to send the file.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`30`,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:`30`,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:` \"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:`\"uploading\"`}),_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-02T08:58:30.000123+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:` \"upload\"`}),_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:` \"signed_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://…/storage/v1/object/upload/sign/campaign-imports/123e4567-e89b-12d3-a456-426614174000/9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b.ndjson?token=eyJhbGciOi…\"`}),_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:` \"resumable_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://…/storage/v1/upload/resumable/sign\"`}),_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:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJhbGciOi…\"`}),_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:` \"bucket\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"campaign-imports\"`}),_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:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123e4567-e89b-12d3-a456-426614174000/9b2f5c1e-4d3a-4e8b-a1f0-6c7d8e9f0a1b.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:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/x-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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-02T10:58:30.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(ResponseField,{name:`import.id`,type:`string`,required:true,id:`param-import-id`,children:[`The `,_jsx(_components.code,{children:`import_id`}),` to `,_jsx(_components.a,{href:`/api-reference/campaign/create`,children:`create the campaign`}),` with.`]}),`\n`,_jsxs(ResponseField,{name:`upload.signed_url`,type:`string`,required:true,id:`param-upload-signed-url`,children:[`Where to upload the whole file with one `,_jsx(_components.code,{children:`PUT`}),`. Use it exactly as given.`]}),`\n`,_jsxs(ResponseField,{name:`upload.content_type`,type:`string`,required:true,id:`param-upload-content-type`,children:[`Always `,_jsx(_components.code,{children:`application/x-ndjson`}),`: the `,_jsx(_components.code,{children:`Content-Type`}),` to upload with.`]}),`\n`,_jsx(ResponseField,{name:`upload.expires_at`,type:`string`,required:true,id:`param-upload-expires-at`,children:`When the link stops working, 2 hours after the reserve. Create the campaign before then.`}),`\n`,_jsxs(ResponseField,{name:`upload.resumable_url`,type:`string`,required:true,id:`param-upload-resumable-url`,children:[`For a resumable (TUS) upload, the way the dashboard sends the file: in 6 MB pieces, with `,_jsx(_components.code,{children:`upload.token`}),` as the `,_jsx(_components.code,{children:`x-signature`}),` header, and `,_jsx(_components.code,{children:`bucketName`}),`, `,_jsx(_components.code,{children:`objectName`}),` and `,_jsx(_components.code,{children:`contentType`}),` set to `,_jsx(_components.code,{children:`upload.bucket`}),`, `,_jsx(_components.code,{children:`upload.path`}),` and `,_jsx(_components.code,{children:`upload.content_type`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`upload-the-file`,children:`Upload the file`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,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:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"UPLOAD_SIGNED_URL\"`}),_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/x-ndjson\"`}),_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:` --data-binary`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @contacts.ndjson`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`Send only the `,_jsx(_components.code,{children:`Content-Type`}),`.`]}),` The link goes to Verbeo’s file storage, not to `,_jsx(_components.code,{children:`api.verbeo.ai`}),`; the token in it is the credential, so no API key goes with it.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[`A `,_jsx(_components.code,{children:`2xx`}),` answer means the file is stored.`]}),` The storage takes files of up to 50 MB, of type `,_jsx(_components.code,{children:`application/x-ndjson`}),` only.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The format`}),` is on the overview: `,_jsx(_components.a,{href:`/api-reference/campaign/overview#the-contacts-file`,children:`The contacts file`}),`.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`--data-binary`}),`. curl’s `,_jsx(_components.code,{children:`-d`}),` strips the newlines between the lines, which turns the whole file into one line that is not a contact.`]})}),`\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 `,_jsx(_components.code,{children:`file_name`}),` that is empty (`,_jsx(_components.code,{children:`file_name: required`}),`) or longer than 255 characters (`,_jsx(_components.code,{children:`file_name: must be at most 255 characters`}),`). A `,_jsx(_components.code,{children:`file_size`}),` below 1 byte (`,_jsx(_components.code,{children:`file_size: must be at least 1 byte`}),`), not whole (`,_jsx(_components.code,{children:`file_size: must be a whole number of bytes`}),`) or over 50 MB (`,_jsx(_components.code,{children:`file_size: must be at most 50 MB (52,428,800 bytes)`}),`). A `,_jsx(_components.code,{children:`contact_count`}),` below 1 (`,_jsx(_components.code,{children:`contact_count: must be at least 1`}),`), not whole (`,_jsx(_components.code,{children:`contact_count: must be a whole number`}),`) or over the limit (`,_jsx(_components.code,{children:`contact_count: must be at most 100,000`}),`).`]})]}),_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:`Uploading a contacts file requires the developer, admin or owner role`}),`. An API key acts as the owner and never gets it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`The upload could not be started. Try again in a moment.`}),` The storage gave no link, and nothing is kept.`]})]})]})]}),`\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":"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"}}},"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":"Upload the file","slug":"upload-the-file","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Reserve an upload","path":"/v2/campaign/imports","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":{"file_name":[{"type":"string","description":"Your name for the file, 1 to 255 characters. It is shown with the campaign; the file is stored under a name Verbeo chooses.","required":true}],"file_size":[{"type":"number","description":"The file’s size in bytes, from `1` to `52428800` (50 MB). `wc -c \u003c contacts.ndjson` prints it. Once the campaign is created, the size it holds is the one stored.","required":true}],"contact_count":[{"type":"number","description":"How many contacts the file holds, from `1` to `100000` . It is shown as the import’s `expected_count` until Verbeo has counted the lines."}]}}],"examples":{"example":{"value":{"file_name":"\u003cstring>","file_size":123,"contact_count":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"import.id":[{"type":"string","description":"The `import_id` to create the campaign with.","required":true}],"upload.signed_url":[{"type":"string","description":"Where to upload the whole file with one `PUT` . Use it exactly as given.","required":true}],"upload.content_type":[{"type":"string","description":"Always `application/x-ndjson` : the `Content-Type` to upload with.","required":true}],"upload.expires_at":[{"type":"string","description":"When the link stops working, 2 hours after the reserve. Create the campaign before then.","required":true}],"upload.resumable_url":[{"type":"string","description":"For a resumable (TUS) upload, the way the dashboard sends the file: in 6 MB pieces, with `upload.token` as the `x-signature` header, and `bucketName` , `objectName` and `contentType` set to `upload.bucket` , `upload.path` and `upload.content_type` .","required":true}]}}],"examples":{"example":{"value":{"import.id":"\u003cstring>","upload.signed_url":"\u003cstring>","upload.content_type":"\u003cstring>","upload.expires_at":"\u003cstring>","upload.resumable_url":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"verbeo","siteName":"Verbeo","title":"Reserve an upload - Verbeo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T06:32:22.157Z","originalFileLocation":"api-reference/campaign/reserve-import.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=\"Reserve a slot for a campaign\u0026#x27;s contacts file and get the link to upload it to: the first step of creating a campaign.\">\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=\"Reserve an upload - Verbeo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reserve a slot for a campaign\u0026#x27;s contacts file and get the link to upload it to: the first step of creating a campaign.\">\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/reserve-import\">\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=Reserve+an+upload\u0026amp;description=Reserve+a+slot+for+a+campaign%27s+contacts+file+and+get+the+link+to+upload+it+to%3A+the+first+step+of+creating+a+campaign.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=6bb1b4edee5afba3627948f9e61772ccaabda3886f0b7242dd07dba302bfe367\">\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=\"Reserve an upload - Verbeo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reserve a slot for a campaign\u0026#x27;s contacts file and get the link to upload it to: the first step of creating a campaign.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verbeo.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Reserve+an+upload\u0026amp;description=Reserve+a+slot+for+a+campaign%27s+contacts+file+and+get+the+link+to+upload+it+to%3A+the+first+step+of+creating+a+campaign.\u0026amp;theme=9365aa895579db6d247f7ad3\u0026amp;signature=6bb1b4edee5afba3627948f9e61772ccaabda3886f0b7242dd07dba302bfe367\">\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/reserve-import\">\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/reserve-import.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/reserve-import#webpage\",\"url\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import\",\"name\":\"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.\",\"dateModified\":\"2026-10-29T06:32:22.157Z\",\"isPartOf\":{\"@id\":\"https://docs.verbeo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.verbeo.ai/api-reference/campaign/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reserve an upload\",\"item\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import#apireference\",\"headline\":\"Reserve an upload\",\"name\":\"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.\",\"url\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verbeo.ai/api-reference/campaign/reserve-import#webpage\"},\"dateModified\":\"2026-10-29T06:32:22.157Z\",\"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/reserve-import.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","description":"Page through your workspace's campaigns, newest first, each with its import's progress. Search by name and filter by status.","api":"POST https://api.verbeo.ai/v2/campaign/list","href":"/api-reference/campaign/list"},{"title":"Reserve an upload","sidebarTitle":"Reserve an upload","api":"POST https://api.verbeo.ai/v2/campaign/imports","href":"/api-reference/campaign/reserve-import"},{"title":"Create campaign","sidebarTitle":"Create campaign","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"},{"title":"Get campaign","sidebarTitle":"Get campaign","api":"GET https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/get"},{"title":"Update campaign","sidebarTitle":"Update campaign","api":"PUT https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/update"},{"title":"Delete campaign","sidebarTitle":"Delete campaign","api":"DELETE https://api.verbeo.ai/v2/campaign/{id}","href":"/api-reference/campaign/delete"},{"title":"Start campaign","sidebarTitle":"Start campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/start","href":"/api-reference/campaign/start"},{"title":"Pause campaign","sidebarTitle":"Pause campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/pause","href":"/api-reference/campaign/pause"},{"title":"Resume campaign","sidebarTitle":"Resume campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/resume","href":"/api-reference/campaign/resume"},{"title":"Cancel campaign","sidebarTitle":"Cancel campaign","api":"POST https://api.verbeo.ai/v2/campaign/{id}/cancel","href":"/api-reference/campaign/cancel"},{"title":"Retry import","sidebarTitle":"Retry import","api":"POST https://api.verbeo.ai/v2/campaign/{id}/import/retry","href":"/api-reference/campaign/retry-import"},{"title":"List contacts","sidebarTitle":"List contacts","api":"POST https://api.verbeo.ai/v2/campaign/{id}/contacts","href":"/api-reference/campaign/contacts"},{"title":"Contact counts","sidebarTitle":"Contact counts","api":"GET https://api.verbeo.ai/v2/campaign/{id}/stats","href":"/api-reference/campaign/stats"}]},{"group":"Webhooks","icon":"bolt","pages":[{"title":"Webhook events","href":"/api-reference/webhooks/events"},{"title":"Tool call webhooks","href":"/api-reference/webhooks/tool-calls"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/concepts/phone-numbers"}]}]},"basePath":"","title":"Reserve an upload - 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"]}