Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Starleads api docs","colors":{"primary":"#FF5B22","light":"#fe8c74","dark":"#FF5B22"},"favicon":"https://mintcdn.com/locuta/tZlUd6iyAfQwa0YL/logo/favicon.svg?fit=max\u0026auto=format\u0026n=tZlUd6iyAfQwa0YL\u0026q=85\u0026s=967e53c47421a4ed3c5adccac9a32e37","logo":{"light":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61","dark":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=b9a5ae7998f0db400ea8722f90609ed5"},"api":{"openapi":"api-reference/openapi.json","mdx":{"server":"https://api.starleads.co","auth":{"method":"key","name":"X-Api-Key"}}},"navbar":{"primary":{"type":"button","label":"Log in","href":"https://app.starleads.co"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/starleads-co","website":"https://starleads.co"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"locuta","hasAudioNarration":false,"actualSubdomain":"locuta","customDomains":["docs.starleads.co"],"gitSource":{"type":"github","owner":"locuta","repo":"starleads-public-gateway","deployBranch":"mintifly","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43","collectionId":"4cf50806-03bb-46b2-9027-a2d8bbba048f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43"},"entitlements":{},"buildId":"6ab11ae5ebb61b9bf7312a43","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Agent Tests","count":8},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Campaign Items","count":7},{"language":"default","tag":"Knowledge Base — Documents","count":7},{"language":"default","tag":"Agent Test Folders","count":5},{"language":"default","tag":"Knowledge Base — Datasets","count":5},{"language":"default","tag":"Knowledge Base — Chats","count":5},{"language":"default","tag":"Knowledge Base — Knowledge Graph","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/campaignitem/add-multiple-items-to-a-campaign","slug":"/api-reference/campaignitem/add-multiple-items-to-a-campaign","pageMetadata":{"title":"Add multiple items to a campaign","openapi":"POST /CampaignItem/{campaignId}/bulk-add-items","description":"Allows adding multiple items to a specific campaign identified by `campaignId`. Authentication is required using an API key passed in the `X-Api-Key` header. You can retrieve your API key from your profile when logged in to [Starleads](https://app.starleads.co/).","href":"/api-reference/campaignitem/add-multiple-items-to-a-campaign"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Allows adding multiple items to a specific campaign identified by \", _jsx(_components.code, {\n children: \"campaignId\"\n }), \". Authentication is required using an API key passed in the \", _jsx(_components.code, {\n children: \"X-Api-Key\"\n }), \" header. You can retrieve your API key from your profile when logged in to \", _jsx(_components.a, {\n href: \"https://app.starleads.co/\",\n children: \"Starleads\"\n }), \".\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add multiple items to a campaign","openapi":"POST /CampaignItem/{campaignId}/bulk-add-items","description":"Allows adding multiple items to a specific campaign identified by `campaignId`. Authentication is required using an API key passed in the `X-Api-Key` header. You can retrieve your API key from your profile when logged in to [Starleads](https://app.starleads.co/).","href":"/api-reference/campaignitem/add-multiple-items-to-a-campaign"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["CampaignItem"],"summary":"Add multiple items to a campaign","description":"Allows adding multiple items to a specific campaign identified by `campaignId`. Authentication is required using an API key passed in the `X-Api-Key` header. You can retrieve your API key from your profile when logged in to [Starleads](https://app.starleads.co/).","operationId":"BulkAddCampaignItems","parameters":["f900d2a3-a237-4a84-aa18-71eb4e0cbf40","eedc9bbe-633b-4afb-96b1-3297dc6cd66f"],"requestBody":"ca98e041-81bc-407a-94eb-9ed4c95e3d6d","responses":{"201":"b5070f83-99d4-4019-b95f-5c8dae5d70c0","400":"7abc0636-d9fc-4141-9b5c-0252e628f089","401":"4d850963-b94f-40b3-a504-9f577daf5631"},"method":"post","type":"path","servers":[],"security":[],"path":"/CampaignItem/{campaignId}/bulk-add-items","baseUrlOptions":["https://api.starleads.co"],"title":"Add multiple items to a campaign","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f900d2a3-a237-4a84-aa18-71eb4e0cbf40":{"name":"X-Api-Key","in":"header","description":"Api key to pass as a ```X-Api-Key``` request header. You can get yours in your profile when authenticated in [Starleads](https://app.starleads.co/)","required":true,"schema":{"type":"string","isRequired":true,"description":"Api key to pass as a ```X-Api-Key``` request header. You can get yours in your profile when authenticated in [Starleads](https://app.starleads.co/)","uniqueKey":"","typeLabel":"string"}},"eedc9bbe-633b-4afb-96b1-3297dc6cd66f":{"name":"campaignId","in":"path","description":"ID of the campaign.","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the campaign.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"oneOf":[{"type":"array","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique.","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag","typeLabel":"object | null"},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.0","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z>"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z> | null"}},"additionalProperties":false,"uniqueKey":"\\items.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"\\items.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique."},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"},{"type":"null","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"}]},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"}]}},"additionalProperties":false},"uniqueKey":"\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"phoneNumber":"\u003cstring>","dataBag":{},"nextTryDate":"\u003cstring>"}]}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"items":{"oneOf":[{"type":"array","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique.","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag","typeLabel":"object | null"},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.0","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z>"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z> | null"}},"additionalProperties":false,"uniqueKey":"\\items.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"\\items.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique."},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"},{"type":"null","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"}]},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"}]}},"additionalProperties":false},"uniqueKey":"\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"phoneNumber":"\u003cstring>","dataBag":{},"nextTryDate":"\u003cstring>"}]}}},"exampleType":"generated"},"application/*+json":{"schema":{"type":"object","properties":{"items":{"oneOf":[{"type":"array","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique.","isRequired":true,"uniqueKey":"\\items.oneOf.0.items.[INDEX].phoneNumber","typeLabel":"string"},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].dataBag","typeLabel":"object | null"},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.0","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z>"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.oneOf.0.items.[INDEX].nextTryDate","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z> | null"}},"additionalProperties":false,"uniqueKey":"\\items.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"\\items.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique."},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"},{"type":"null","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"}]},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"}]}},"additionalProperties":false},"uniqueKey":"\\items.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"phoneNumber":"\u003cstring>","dataBag":{},"nextTryDate":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b5070f83-99d4-4019-b95f-5c8dae5d70c0":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"item":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique.","isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].item.phoneNumber","typeLabel":"string"},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].item.dataBag.oneOf.0.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"errors.oneOf.0.items.[INDEX].item.dataBag.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].item.dataBag.oneOf.1.additionalProperties","typeLabel":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited","uniqueKey":"errors.oneOf.0.items.[INDEX].item.dataBag.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].item.dataBag","typeLabel":"object | null"},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"errors.oneOf.0.items.[INDEX].item.nextTryDate.oneOf.0","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z>"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z","uniqueKey":"errors.oneOf.0.items.[INDEX].item.nextTryDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].item.nextTryDate","typeLabel":"string\u003cDateTime format eg : 2023-11-17T12:44:50.809Z> | null"}},"additionalProperties":false,"uniqueKey":"errors.oneOf.0.items.[INDEX].item","typeLabel":"object"},"errorDescription":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].errorDescription.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errors.oneOf.0.items.[INDEX].errorDescription.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].errorDescription","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"item":{"required":["phoneNumber"],"type":"object","properties":{"phoneNumber":{"minLength":1,"type":"string","description":"Phone number of the campaign item. It must be unique."},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"},{"type":"null","additionalProperties":{"type":"string"},"description":"The databag refer to the campaign fields. The Databag needs one key / entry per **mandatory** fields of the targeted campaign.\u003cbr>If one mandatory field is missing from the databag, an error will be returned.\u003cbr>Databag's keys that aren't properties of the targeted campaign will be ignored.\u003cbr>If the campaign has no mandatory fields, this property can be ommited"}]},"nextTryDate":{"oneOf":[{"type":"string","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"},{"type":"null","description":"The next date when the number will be called again by Starleads.\u003cbr>If this property is not set (or set to null), it will be setted by default to today.","format":"DateTime format eg : 2023-11-17T12:44:50.809Z"}]}},"additionalProperties":false},"errorDescription":{"oneOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"item":{"phoneNumber":"\u003cstring>","dataBag":{},"nextTryDate":"\u003cstring>"},"errorDescription":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"7abc0636-d9fc-4141-9b5c-0252e628f089":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4d850963-b94f-40b3-a504-9f577daf5631":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a888be27-5c2c-4108-8494-312cd8b623c7":{"Key":{"name":"X-Api-Key","type":"apiKey","in":"header"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"name":"X-Api-Key","type":"apiKey","in":"header"},"schema":{"title":"X-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Key","name":"X-Api-Key"}],"title":"Key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"locuta","siteName":"Starleads api docs","title":"Add multiple items to a campaign - Starleads api docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T18:29:28.858Z","originalFileLocation":"api-reference/campaignitem/add-multiple-items-to-a-campaign.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=\"Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Starleads api docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add multiple items to a campaign - Starleads api docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Starleads api docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Campaign+Items\u0026amp;title=Add+multiple+items+to+a+campaign\u0026amp;description=Allows+adding+multiple+items+to+a+specific+campaign+identified+by+%60campaignId%60.+Authentication+is+required+using+an+API+key+passed+in+the+%60X-Api-Key%60+header.+Yo\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=6d907b4809258dd2c0a3169fc2597bf7f37a053a48b0d046a18af518f3874a45\">\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=\"Add multiple items to a campaign - Starleads api docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Campaign+Items\u0026amp;title=Add+multiple+items+to+a+campaign\u0026amp;description=Allows+adding+multiple+items+to+a+specific+campaign+identified+by+%60campaignId%60.+Authentication+is+required+using+an+API+key+passed+in+the+%60X-Api-Key%60+header.+Yo\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=6d907b4809258dd2c0a3169fc2597bf7f37a053a48b0d046a18af518f3874a45\">\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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Starleads api docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5B22\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaignitem/add-multiple-items-to-a-campaign.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.starleads.co/#organization\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.starleads.co#website\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign#webpage\",\"url\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign\",\"name\":\"Add multiple items to a campaign\",\"description\":\"Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.\",\"dateModified\":\"2026-09-11T18:29:28.858Z\",\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaign Items\",\"item\":\"https://docs.starleads.co/api-reference/campaignitem/get-campaign-items-with-filters\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add multiple items to a campaign\",\"item\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign#apireference\",\"headline\":\"Add multiple items to a campaign\",\"name\":\"Add multiple items to a campaign\",\"description\":\"Allows adding multiple items to a specific campaign identified by campaignId. Authentication is required using an API key passed in the X-Api-Key header. You can retrieve your API key from your profile when logged in to Starleads.\",\"url\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign\",\"mainEntityOfPage\":{\"@id\":\"https://docs.starleads.co/api-reference/campaignitem/add-multiple-items-to-a-campaign#webpage\"},\"dateModified\":\"2026-09-11T18:29:28.858Z\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Starleads api docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Starleads api docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":{"name":"book-open","style":"duotone"},"pages":[{"title":"Documentation","href":"/documentation/get-started"}]},{"anchor":"API Reference","icon":{"name":"square-terminal","style":"duotone"},"groups":[{"group":"API Reference","pages":[{"title":"API Reference","mode":"wide","href":"/api-reference/introduction"}]},{"group":"Consumption","pages":[{"title":"Get the current consumption","openapi":"GET /Consumption","href":"/api-reference/consumption/get-current-consumption"},{"title":"Get the consumption breakdown","openapi":"GET /Consumption/breakdown","href":"/api-reference/consumption/get-consumption-breakdown"},{"title":"List consumption transactions","openapi":"GET /Consumption/transactions","href":"/api-reference/consumption/get-consumption-transactions"}]},{"group":"Subscription","pages":[{"title":"Get the subscription contract","openapi":"GET /Subscription","href":"/api-reference/subscription/get-subscription-contract"}]},{"group":"Campaigns","pages":[{"title":"Get all campaigns","openapi":"GET /Campaign","href":"/api-reference/campaign/get-all-campaigns"},{"title":"Create a campaign","openapi":"POST /Campaign","href":"/api-reference/campaign/create-a-campaign"}]},{"group":"Campaign Items","pages":[{"title":"Get campaign items with filters","openapi":"GET /CampaignItem/{campaignId}/items","href":"/api-reference/campaignitem/get-campaign-items-with-filters"},{"title":"Get all items by phone number","openapi":"GET /CampaignItem/{campaignId}/{phoneNumber}","href":"/api-reference/campaignitem/get-all-items-by-phone-number"},{"title":"Add a new campaign item to a campaign","openapi":"POST /CampaignItem/{campaignId}","description":null,"href":"/api-reference/campaignitem/add-a-new-campaign-item-to-a-campaign"},{"title":"Add multiple items to a campaign","openapi":"POST /CampaignItem/{campaignId}/bulk-add-items","href":"/api-reference/campaignitem/add-multiple-items-to-a-campaign"},{"title":"Delete an item from a campaign","openapi":"DELETE /CampaignItem/{campaignId}/{itemId}","description":null,"href":"/api-reference/campaignitem/delete-an-item-from-a-campaign"},{"title":"Get item audio recording","openapi":"GET /CampaignItem/{itemId}/audio","href":"/api-reference/campaignitem/get-item-audio-recording"},{"title":"Delete item audio recording","openapi":"DELETE /CampaignItem/{itemId}/audio","href":"/api-reference/campaignitem/delete-item-audio-recording"}]},{"group":"Campaign Fields","pages":[{"title":"Get campaign's fields","openapi":"GET /CampaignField/{campaignId}","href":"/api-reference/campaignfield/get-campaigns-fields"}]},{"group":"Agents","pages":[{"title":"Get the prompt of an agent","openapi":"GET /Agent/{agentId}/prompt","href":"/api-reference/agent/get-the-prompt-of-an-agent"},{"title":"Update the prompt of an agent","openapi":"PUT /Agent/{agentId}/prompt","href":"/api-reference/agent/update-the-prompt-of-an-agent"},{"title":"Connect a knowledge base chat to an agent","openapi":"PUT /Agent/{agentId}/chat","href":"/api-reference/agent/connect-a-knowledge-base-chat-to-an-agent"},{"title":"Get the chat connected to an agent","openapi":"GET /Agent/{agentId}/chat","href":"/api-reference/agent/get-the-chat-connected-to-an-agent"},{"title":"Detach the chat from an agent","openapi":"DELETE /Agent/{agentId}/chat","href":"/api-reference/agent/detach-the-chat-from-an-agent"},{"title":"Get an agent","openapi":"GET /Agent/{agentId}","href":"/api-reference/agent/get-an-agent"},{"title":"List the tools connected to an agent","openapi":"GET /Agent/{agentId}/tools","href":"/api-reference/agent/list-the-tools-connected-to-an-agent"},{"title":"Connect a tool to an agent","openapi":"PUT /Agent/{agentId}/tools/{toolId}","href":"/api-reference/agent/connect-a-tool-to-an-agent"},{"title":"Disconnect a tool from an agent","openapi":"DELETE /Agent/{agentId}/tools/{toolId}","href":"/api-reference/agent/disconnect-a-tool-from-an-agent"},{"title":"Get the history of an agent","openapi":"GET /Agent/{agentId}/history","href":"/api-reference/agent/get-the-history-of-an-agent"}]},{"group":"Simulation Chat","pages":[{"title":"Start a simulation chat with an agent","openapi":"POST /SimulationChat/start","href":"/api-reference/simulationchat/start-a-simulation-chat-with-an-agent"},{"title":"Get a simulation chat","openapi":"GET /SimulationChat/{simulationChatId}","href":"/api-reference/simulationchat/get-a-simulation-chat"},{"title":"Send a message to a simulation chat","openapi":"POST /SimulationChat/send-message","href":"/api-reference/simulationchat/send-a-message-to-a-simulation-chat"}]},{"group":"Agent Tests","pages":[{"title":"List the tests of an agent","openapi":"GET /AgentTest","href":"/api-reference/agenttest/list-the-tests-of-an-agent"},{"title":"Get a test","openapi":"GET /AgentTest/{testId}","href":"/api-reference/agenttest/get-a-test"},{"title":"Delete a test","openapi":"DELETE /AgentTest/{testId}","href":"/api-reference/agenttest/delete-a-test"},{"title":"Create a simulation test","openapi":"POST /AgentTest/simulation","href":"/api-reference/agenttest/create-a-simulation-test"},{"title":"Update a simulation test","openapi":"PUT /AgentTest/simulation/{testId}","href":"/api-reference/agenttest/update-a-simulation-test"},{"title":"Create a classification test","openapi":"POST /AgentTest/classification","href":"/api-reference/agenttest/create-a-classification-test"},{"title":"Update a classification test","openapi":"PUT /AgentTest/classification/{testId}","href":"/api-reference/agenttest/update-a-classification-test"},{"title":"Move tests into a folder","openapi":"POST /AgentTest/move","href":"/api-reference/agenttest/move-tests-into-a-folder"}]},{"group":"Agent Test Folders","pages":[{"title":"List the folders of an agent","openapi":"GET /AgentTestFolder","href":"/api-reference/agenttestfolder/list-the-folders-of-an-agent"},{"title":"Get a folder","openapi":"GET /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/get-a-folder"},{"title":"Create a folder","openapi":"POST /AgentTestFolder","href":"/api-reference/agenttestfolder/create-a-folder"},{"title":"Update a folder","openapi":"PUT /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/update-a-folder"},{"title":"Delete a folder","openapi":"DELETE /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/delete-a-folder"}]},{"group":"Agent Test Executions","pages":[{"title":"Launch tests","openapi":"POST /AgentTestExecution","href":"/api-reference/agenttestexecution/launch-tests"},{"title":"Get an execution","openapi":"GET /AgentTestExecution/{executionId}","href":"/api-reference/agenttestexecution/get-an-execution"},{"title":"List the executions of an agent","openapi":"GET /AgentTestExecution","href":"/api-reference/agenttestexecution/list-the-executions-of-an-agent"},{"title":"Cancel an execution","openapi":"POST /AgentTestExecution/{executionId}/cancel","href":"/api-reference/agenttestexecution/cancel-an-execution"}]},{"group":"Agent Test Runs","pages":[{"title":"Get a run","openapi":"GET /AgentTestRun/{runId}","href":"/api-reference/agenttestrun/get-a-run"},{"title":"List runs","openapi":"GET /AgentTestRun","href":"/api-reference/agenttestrun/list-runs"},{"title":"Cancel runs","openapi":"POST /AgentTestRun/cancel","href":"/api-reference/agenttestrun/cancel-runs"}]},{"group":"Knowledge Base — Datasets","pages":[{"title":"List datasets","openapi":"GET /Dataset","href":"/api-reference/dataset/list-datasets"},{"title":"Create a dataset","openapi":"POST /Dataset","href":"/api-reference/dataset/create-a-dataset"},{"title":"Get a dataset","openapi":"GET /Dataset/{datasetId}","href":"/api-reference/dataset/get-a-dataset"},{"title":"Update a dataset","openapi":"PATCH /Dataset/{datasetId}","href":"/api-reference/dataset/update-a-dataset"},{"title":"Delete a dataset","openapi":"DELETE /Dataset/{datasetId}","href":"/api-reference/dataset/delete-a-dataset"}]},{"group":"Knowledge Base — Documents","pages":[{"title":"List documents in a dataset","openapi":"GET /Dataset/{datasetId}/document","href":"/api-reference/document/list-documents-in-a-dataset"},{"title":"Upload documents to a dataset","openapi":"POST /Dataset/{datasetId}/document","href":"/api-reference/document/upload-documents-to-a-dataset"},{"title":"Download a document file","openapi":"GET /Dataset/{datasetId}/document/{documentId}/download","href":"/api-reference/document/download-a-document-file"},{"title":"Update a document","openapi":"PUT /Dataset/{datasetId}/document/{documentId}","href":"/api-reference/document/update-a-document"},{"title":"Delete a document","openapi":"DELETE /Dataset/{datasetId}/document/{documentId}","href":"/api-reference/document/delete-a-document"},{"title":"Trigger document parsing","openapi":"POST /Dataset/{datasetId}/document/parse","href":"/api-reference/document/trigger-document-parsing"},{"title":"Stop document parsing","openapi":"DELETE /Dataset/{datasetId}/document/parse","href":"/api-reference/document/stop-document-parsing"}]},{"group":"Knowledge Base — Chats","pages":[{"title":"List knowledge base chats","openapi":"GET /KnowledgeBaseChat","href":"/api-reference/knowledgebasechat/list-knowledge-base-chats"},{"title":"Create a knowledge base chat","openapi":"POST /KnowledgeBaseChat","href":"/api-reference/knowledgebasechat/create-a-knowledge-base-chat"},{"title":"Get a knowledge base chat","openapi":"GET /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/get-a-knowledge-base-chat"},{"title":"Update a knowledge base chat","openapi":"PATCH /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/update-a-knowledge-base-chat"},{"title":"Delete a knowledge base chat","openapi":"DELETE /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/delete-a-knowledge-base-chat"}]},{"group":"Knowledge Base — Knowledge Graph","pages":[{"title":"Enable knowledge graph on a dataset","openapi":"POST /Dataset/{datasetId}/knowledge-graph/enable","href":"/api-reference/knowledgegraph/enable-knowledge-graph-on-a-dataset"},{"title":"Trigger knowledge graph construction","openapi":"POST /Dataset/{datasetId}/knowledge-graph/build","href":"/api-reference/knowledgegraph/trigger-knowledge-graph-construction"},{"title":"Get knowledge graph build status","openapi":"GET /Dataset/{datasetId}/knowledge-graph/status","href":"/api-reference/knowledgegraph/get-knowledge-graph-build-status"},{"title":"Get the knowledge graph","openapi":"GET /Dataset/{datasetId}/knowledge-graph","href":"/api-reference/knowledgegraph/get-the-knowledge-graph"},{"title":"Delete the knowledge graph","openapi":"DELETE /Dataset/{datasetId}/knowledge-graph","href":"/api-reference/knowledgegraph/delete-the-knowledge-graph"}]}]}]},"title":"Add multiple items to a campaign - Starleads api docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}