Add Targets
Campaigns
Add Targets
Add targets to a campaign
POST
Add Targets
Path Parameters
The ID of the campaign to add targets to.
Body
application/json
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_data": { "patient_name": "John Doe" }
}
]Whether to launch the targets immediately or only add them to the campaign
When set to True all targets with and external ID already contained in the campaign will be ignored
Response
Successful Response