Whether to launch the targets immediately or only add them to the campaign
call_immediately
boolean
default:false
Only used together with launch. Dial these targets as soon as they are queued, on an already running agent, instead of on the next dispatch with a freshly started one. Best effort: the campaign's calling hours still apply, a call falls back to a freshly started agent when none is idle, and it has no effect on payor campaigns. Meant for a handful of calls someone is waiting on, such as a demo.
allow_duplicates
boolean
default:true
When set to True all targets with and external ID already contained in the campaign will be ignored
strict
boolean
default:true
When set to False, targets that fail validation are still uploaded; targets with an invalid phone number are marked as INVALID_PHONE_NUMBER when the call is about to be executed
Response
Successful Response
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prosper AI","colors":{"primary":"#FF421C","light":"#07C983","dark":"#CC3516"},"logo":{"light":"https://mintcdn.com/prosper/GzCwcD_ykHcZMVXA/logo/prosper_logo.svg?fit=max\u0026auto=format\u0026n=GzCwcD_ykHcZMVXA\u0026q=85\u0026s=1ab9f8d183a515b46ada21908f7bee02","dark":"https://mintcdn.com/prosper/GzCwcD_ykHcZMVXA/logo/prosper_logo.svg?fit=max\u0026auto=format\u0026n=GzCwcD_ykHcZMVXA\u0026q=85\u0026s=1ab9f8d183a515b46ada21908f7bee02"},"favicon":"https://mintcdn.com/prosper/GzCwcD_ykHcZMVXA/favicon.png?fit=max\u0026auto=format\u0026n=GzCwcD_ykHcZMVXA\u0026q=85\u0026s=cb74860d724fcd939a30a5fc36cf864b","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://platform.getprosperapp.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"prosper","hasAudioNarration":false,"actualSubdomain":"prosper","customDomains":["docs.getprosperapp.com"],"gitSource":{"type":"github","owner":"prosper-technologies","repo":"prosper-documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aece163c8825782c1dd1f03","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Campaigns","count":14},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Blacklists","count":3},{"language":"default","tag":"Quickstart","count":2},{"language":"default","tag":"Call Logs","count":2},{"language":"default","tag":"Targets","count":2},{"language":"default","tag":"Get Started","count":1},{"language":"default","tag":"Integration Actions","count":1},{"language":"default","tag":"Live Calls","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":[],"page":{"pagePath":"api-reference/campaigns/add-targets","slug":"/api-reference/campaigns/add-targets","pageMetadata":{"title":"Add Targets","description":"Add targets to a campaign","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets","href":"/api-reference/campaigns/add-targets","autogeneratedByOpenApi":true},"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: \"Add targets to 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}=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 Targets","description":"Add targets to a campaign","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets","href":"/api-reference/campaigns/add-targets","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Campaigns"],"summary":"Add Targets","description":"Add targets to a campaign","operationId":"add_targets_api_v1_campaigns__campaign_id__targets_post","parameters":["ccd6b001-5232-4ac1-9699-d41b399c51b2"],"requestBody":"248326e2-1054-43e4-b468-7d55a5114e5b","responses":{"200":"90f28881-f972-4d6e-8d58-5d3445dc4b7e","422":"1338be59-ff47-44a1-8ead-6f105034a087"},"method":"post","type":"path","servers":[],"security":[],"path":"/api/v1/campaigns/{campaign_id}/targets","baseUrlOptions":[],"title":"Add Targets","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ccd6b001-5232-4ac1-9699-d41b399c51b2":{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the campaign to add targets to.","title":"Campaign Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The ID of the campaign to add targets to."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"targets":{"oneOf":[{"type":"array","items":{"properties":{"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","description":"The phone number of the target","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"object","title":"TargetInputPhoneNumber","description":"The phone number of the target","required":["value"],"properties":{"value":{"type":"string","title":"Value","description":"The phone number of the target","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.value","typeLabel":"string"},"operating_hours":{"oneOf":[{"type":"object","title":"WeekSchedule","description":"The operating hours of the target","properties":{"monday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Monday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.monday","typeLabel":"TimeIntervalNoTz · object[]"},"tuesday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Tuesday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.tuesday","typeLabel":"TimeIntervalNoTz · object[]"},"wednesday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Wednesday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.wednesday","typeLabel":"TimeIntervalNoTz · object[]"},"thursday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Thursday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.thursday","typeLabel":"TimeIntervalNoTz · object[]"},"friday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Friday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.friday","typeLabel":"TimeIntervalNoTz · object[]"},"saturday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Saturday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.saturday","typeLabel":"TimeIntervalNoTz · object[]"},"sunday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Sunday","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.sunday","typeLabel":"TimeIntervalNoTz · object[]"},"tz":{"type":"string","title":"Tz","default":"US/Eastern","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0.tz","typeLabel":"string"}},"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.0","typeLabel":"WeekSchedule · object"},{"type":"null","description":"The operating hours of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1.operating_hours","typeLabel":"WeekSchedule · object | null"}},"isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number.oneOf.1","typeLabel":"TargetInputPhoneNumber · object"}],"isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].phone_number","typeLabel":"string | TargetInputPhoneNumber · object"},"id":{"type":"string","title":"Id","description":"The ID of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].id","typeLabel":"string"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The external ID of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The external ID of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].external_id","typeLabel":"string | null"},"fallback_phone_number":{"oneOf":[{"type":"string","title":"Fallback Phone Number","description":"The fallback phone number of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.0","typeLabel":"string"},{"type":"object","title":"TargetInputPhoneNumber","description":"The fallback phone number of the target","required":["value"],"properties":{"value":{"type":"string","title":"Value","description":"The phone number of the target","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.value","typeLabel":"string"},"operating_hours":{"oneOf":[{"type":"object","title":"WeekSchedule","description":"The operating hours of the target","properties":{"monday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.monday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Monday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.monday","typeLabel":"TimeIntervalNoTz · object[]"},"tuesday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.tuesday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Tuesday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.tuesday","typeLabel":"TimeIntervalNoTz · object[]"},"wednesday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.wednesday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Wednesday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.wednesday","typeLabel":"TimeIntervalNoTz · object[]"},"thursday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.thursday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Thursday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.thursday","typeLabel":"TimeIntervalNoTz · object[]"},"friday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.friday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Friday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.friday","typeLabel":"TimeIntervalNoTz · object[]"},"saturday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.saturday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Saturday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.saturday","typeLabel":"TimeIntervalNoTz · object[]"},"sunday":{"items":{"properties":{"start":{"type":"string","title":"Start","description":"Clock time as the source writes it — \"9:00\", \"13:30\" and \"1:30 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX].start","typeLabel":"string"},"end":{"type":"string","title":"End","description":"Clock time as the source writes it — \"17:00\", \"12:00\" and \"5:00 PM\" are all accepted; 12-hour times are converted on import.","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX].end","typeLabel":"string"}},"type":"object","required":["start","end"],"title":"TimeIntervalNoTz","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.sunday.items.[INDEX]","typeLabel":"TimeIntervalNoTz · object"},"type":"array","title":"Sunday","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.sunday","typeLabel":"TimeIntervalNoTz · object[]"},"tz":{"type":"string","title":"Tz","default":"US/Eastern","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0.tz","typeLabel":"string"}},"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.0","typeLabel":"WeekSchedule · object"},{"type":"null","description":"The operating hours of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1.operating_hours","typeLabel":"WeekSchedule · object | null"}},"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.1","typeLabel":"TargetInputPhoneNumber · object"},{"type":"null","title":"Fallback Phone Number","description":"The fallback phone number of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number.oneOf.2","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].fallback_phone_number","typeLabel":"string | TargetInputPhoneNumber · object | null"},"input_data":{"additionalProperties":true,"type":"object","title":"Input Data","description":"The input data of the target","uniqueKey":"targets.oneOf.0.items.[INDEX].input_data","typeLabel":"Input Data · object"},"patient":{"oneOf":[{"type":"object","title":"PatientInput","description":"Patient to link to this target.","properties":{"first_name":{"oneOf":[{"type":"string","title":"First Name","description":"Patient first name","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.first_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"First Name","description":"Patient first name","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.first_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.first_name","typeLabel":"string | null"},"last_name":{"oneOf":[{"type":"string","title":"Last Name","description":"Patient last name","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.last_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Name","description":"Patient last name","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.last_name","typeLabel":"string | null"},"date_of_birth":{"oneOf":[{"type":"string","title":"Date Of Birth","description":"Patient date of birth (YYYY-MM-DD)","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.date_of_birth.oneOf.0","typeLabel":"string"},{"type":"null","title":"Date Of Birth","description":"Patient date of birth (YYYY-MM-DD)","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.date_of_birth.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.date_of_birth","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","title":"Phone Number","description":"Patient phone number","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Number","description":"Patient phone number","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.phone_number","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","title":"External Id","description":"The patient's id in the EHR","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.external_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Id","description":"The patient's id in the EHR","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.external_id","typeLabel":"string | null"},"mrn":{"oneOf":[{"type":"string","title":"Mrn","description":"The MRN the practice displays, when it differs from external_id","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.mrn.oneOf.0","typeLabel":"string"},{"type":"null","title":"Mrn","description":"The MRN the practice displays, when it differs from external_id","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.mrn.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.mrn","typeLabel":"string | null"},"extra_data":{"oneOf":[{"type":"object","title":"Extra Data","description":"Additional patient metadata","additionalProperties":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.extra_data.oneOf.0","typeLabel":"Extra Data · object"},{"type":"null","title":"Extra Data","description":"Additional patient metadata","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.extra_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0.extra_data","typeLabel":"Extra Data · object | null"}},"uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.0","typeLabel":"PatientInput · object"},{"type":"null","description":"Patient to link to this target.","uniqueKey":"targets.oneOf.0.items.[INDEX].patient.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].patient","typeLabel":"PatientInput · object | null"},"pre_call_ehr_ids":{"oneOf":[{"type":"object","title":"PreCallEhrIds","description":"Known EHR identifiers for this target; the patient's chart is loaded into the call's EHR context at call start.","required":["patient_id"],"properties":{"patient_id":{"type":"string","minLength":1,"title":"Patient Id","isRequired":true,"uniqueKey":"targets.oneOf.0.items.[INDEX].pre_call_ehr_ids.oneOf.0.patient_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"targets.oneOf.0.items.[INDEX].pre_call_ehr_ids.oneOf.0","typeLabel":"PreCallEhrIds · object"},{"type":"null","description":"Known EHR identifiers for this target; the patient's chart is loaded into the call's EHR context at call start.","uniqueKey":"targets.oneOf.0.items.[INDEX].pre_call_ehr_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets.oneOf.0.items.[INDEX].pre_call_ehr_ids","typeLabel":"PreCallEhrIds · object | null"}},"type":"object","required":["phone_number"],"title":"TargetInput","uniqueKey":"targets.oneOf.0.items.[INDEX]","typeLabel":"TargetInput · object"},"title":"Targets","description":"The list of targets as TargetInputs","example":[{"fallback_phone_number":"+19876543210","input_data":{"appointment_date":"2026-04-01","appointment_type":"Follow-up"},"patient":{"date_of_birth":"1990-01-15","external_id":"PAT-001","extra_data":{"address":"123 Main St, Anytown, USA"},"first_name":"John","last_name":"Doe"},"phone_number":"+1234567890","pre_call_ehr_ids":{"patient_id":"EHR-PAT-001"}}],"uniqueKey":"targets.oneOf.0","typeLabel":"TargetInput · object[]"},{"type":"null","title":"Targets","description":"The list of targets as TargetInputs","example":[{"fallback_phone_number":"+19876543210","input_data":{"appointment_date":"2026-04-01","appointment_type":"Follow-up"},"patient":{"date_of_birth":"1990-01-15","external_id":"PAT-001","extra_data":{"address":"123 Main St, Anytown, USA"},"first_name":"John","last_name":"Doe"},"phone_number":"+1234567890","pre_call_ehr_ids":{"patient_id":"EHR-PAT-001"}}],"uniqueKey":"targets.oneOf.1","typeLabel":"null"}],"uniqueKey":"targets","typeLabel":"TargetInput · object[] | null"},"launch":{"type":"boolean","title":"Launch","description":"Whether to launch the targets immediately or only add them to the campaign","default":false,"uniqueKey":"launch","typeLabel":"boolean"},"call_immediately":{"type":"boolean","title":"Call Immediately","description":"Only used together with launch. Dial these targets as soon as they are queued, on an already running agent, instead of on the next dispatch with a freshly started one. Best effort: the campaign's calling hours still apply, a call falls back to a freshly started agent when none is idle, and it has no effect on payor campaigns. Meant for a handful of calls someone is waiting on, such as a demo.","default":false,"uniqueKey":"call_immediately","typeLabel":"boolean"},"allow_duplicates":{"type":"boolean","title":"Allow Duplicates","description":"When set to True all targets with and external ID already contained in the campaign will be ignored","default":true,"uniqueKey":"allow_duplicates","typeLabel":"boolean"},"strict":{"type":"boolean","title":"Strict","description":"When set to False, targets that fail validation are still uploaded; targets with an invalid phone number are marked as INVALID_PHONE_NUMBER when the call is about to be executed","default":true,"uniqueKey":"strict","typeLabel":"boolean"}},"type":"object","title":"AddTargetsRequest","uniqueKey":"","typeLabel":"AddTargetsRequest · object"},"examples":{"Example":{"title":"Example","value":{"targets":[{"fallback_phone_number":"+19876543210","input_data":{"appointment_date":"2026-04-01","appointment_type":"Follow-up"},"patient":{"date_of_birth":"1990-01-15","external_id":"PAT-001","extra_data":{"address":"123 Main St, Anytown, USA"},"first_name":"John","last_name":"Doe"},"phone_number":"+1234567890","pre_call_ehr_ids":{"patient_id":"EHR-PAT-001"}}],"launch":false,"call_immediately":false,"allow_duplicates":true,"strict":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"90f28881-f972-4d6e-8d58-5d3445dc4b7e":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"exampleType":"generated"},"1338be59-ff47-44a1-8ead-6f105034a087":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{}},"originalFileLocation":"https://voice.getprosperapp.com/openapi.json"},"subdomain":"prosper","siteName":"Prosper AI","title":"Add Targets - Prosper AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T20:04:56.117Z","originalFileLocation":"api-reference/campaigns/add-targets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Add targets to a campaign\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prosper AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_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/prosper/Ssa0ACm0cJf-WwSx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Targets - Prosper AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add targets to a campaign\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prosper AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://prosper.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Add+Targets\u0026amp;description=Add+targets+to+a+campaign\u0026amp;theme=477a6f716cd6f0c4e69fe899\u0026amp;signature=f92e4b459b7d56bfbde9582e707285f493de41ac8ac0ad88ee7d3ee60e1c49a1\">\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 Targets - Prosper AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add targets to a campaign\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://prosper.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Add+Targets\u0026amp;description=Add+targets+to+a+campaign\u0026amp;theme=477a6f716cd6f0c4e69fe899\u0026amp;signature=f92e4b459b7d56bfbde9582e707285f493de41ac8ac0ad88ee7d3ee60e1c49a1\">\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/prosper/Ssa0ACm0cJf-WwSx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prosper AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF421C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaigns/add-targets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getprosperapp.com/#organization\",\"name\":\"Prosper AI\",\"url\":\"https://docs.getprosperapp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/prosper/GzCwcD_ykHcZMVXA/logo/prosper_logo.svg?fit=max\u0026auto=format\u0026n=GzCwcD_ykHcZMVXA\u0026q=85\u0026s=1ab9f8d183a515b46ada21908f7bee02\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getprosperapp.com#website\",\"name\":\"Prosper AI\",\"url\":\"https://docs.getprosperapp.com\",\"publisher\":{\"@id\":\"https://docs.getprosperapp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets#webpage\",\"url\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets\",\"name\":\"Add Targets\",\"description\":\"Add targets to a campaign\",\"dateModified\":\"2026-11-05T20:04:56.117Z\",\"isPartOf\":{\"@id\":\"https://docs.getprosperapp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.getprosperapp.com/api-reference/campaigns/list-campaigns\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Targets\",\"item\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets#apireference\",\"headline\":\"Add Targets\",\"name\":\"Add Targets\",\"description\":\"Add targets to a campaign\",\"url\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getprosperapp.com/api-reference/campaigns/add-targets#webpage\"},\"dateModified\":\"2026-11-05T20:04:56.117Z\",\"publisher\":{\"@id\":\"https://docs.getprosperapp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getprosperapp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prosper AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prosper AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/campaigns/add-targets.md","siteName":"Prosper AI","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Status","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/health","href":"/api-reference/status/health-check"}]},{"group":"Campaigns","pages":[{"title":"List Campaigns","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"Campaign Calls","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/calls","href":"/api-reference/campaigns/campaign-calls"},{"title":"Get Campaign Targets","description":null,"deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/campaigns/{campaign_id}/targets","href":"/api-reference/campaigns/get-campaign-targets"},{"title":"Add Targets","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets","href":"/api-reference/campaigns/add-targets"},{"title":"Delete Targets","description":"Delete targets from a campaign","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json delete /api/v1/campaigns/{campaign_id}/targets","href":"/api-reference/campaigns/delete-targets"},{"title":"Import Waitlist","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets/import-waitlist","href":"/api-reference/campaigns/import-waitlist"},{"title":"Finish Targets","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets/finish","href":"/api-reference/campaigns/finish-targets"},{"title":"Get Required Variables","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/campaigns/{campaign_id}/variables","href":"/api-reference/campaigns/get-required-variables"},{"title":"Get Busy Phone Numbers","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/campaigns/{campaign_id}/busy-phone-numbers","href":"/api-reference/campaigns/get-busy-phone-numbers"},{"title":"Receive Webhook Step","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets/{target_id}/step/{friendly_id}","href":"/api-reference/campaigns/receive-webhook-step"},{"title":"Batch Receive Webhook Step","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets/step/{friendly_id}","href":"/api-reference/campaigns/batch-receive-webhook-step"},{"title":"Receive Ehr Event Step","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/ehr-event/{friendly_id}","href":"/api-reference/campaigns/receive-ehr-event-step"},{"title":"Rerun Failed Webhooks","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/webhooks/rerun-failed","href":"/api-reference/campaigns/rerun-failed-webhooks"},{"title":"Get Patient Campaign Targets","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/campaigns/{campaign_id}/patient/targets","href":"/api-reference/campaigns/get-patient-campaign-targets"}]},{"group":"Call Logs","pages":[{"title":"List Call Logs","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/call-logs","href":"/api-reference/call-logs/list-call-logs"},{"title":"Get Call Log","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/call-logs/{call_log_id}","href":"/api-reference/call-logs/get-call-log"}]},{"group":"Live Calls","pages":[{"title":"Get Live Call","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/live-calls","href":"/api-reference/live-calls/get-live-call"}]},{"group":"Targets","pages":[{"title":"Retrieve Target","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/targets/{target_id}","href":"/api-reference/targets/retrieve-target"},{"title":"Update Target Input Data","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json patch /api/v1/targets/{target_id}","href":"/api-reference/targets/update-target-input-data"}]},{"group":"Blacklists","pages":[{"title":"List Blacklist Phone Numbers","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/blacklists/{blacklist_id}/phone-numbers","href":"/api-reference/blacklists/list-blacklist-phone-numbers"},{"title":"Add Blacklist Phone Number","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json post /api/v1/blacklists/{blacklist_id}/phone-numbers/{phone_number}","href":"/api-reference/blacklists/add-blacklist-phone-number"},{"title":"Remove Blacklist Phone Number","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json delete /api/v1/blacklists/{blacklist_id}/phone-numbers/{phone_number}","href":"/api-reference/blacklists/remove-blacklist-phone-number"}]},{"group":"Integration Actions","pages":[{"title":"List Integration Actions","deprecated":null,"version":null,"openapi":"https://voice.getprosperapp.com/openapi.json get /api/v1/integration-actions","href":"/api-reference/integration-actions/list-integration-actions"}]}]}]},"basePath":"","title":"Add Targets - Prosper AI","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js","Markdown-DTeL0SpS.js","dist-OCScizqf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-KcneGfMY.js"]}