Add contacts to a campaign
POST
/campaigns /{id} /rowsAppend contacts to an existing campaign. Each new contact becomes a call in the not_launched status: nothing is dialed until POST / sends it. Contacts whose phone number is already in the campaign are skipped.
Path parameters
idstringrequiredID of the campaign, as returned by
GET /campaigns.
Request body
application/jsoncontactsarray of objectrequiredThe contacts to add. A number already in the campaign, or repeated in the list, is skipped.
at least 1 item
Response
200campaignCampaignaddednumberContacts actually added, duplicates and undialable numbers excluded.
Errors
- 400Invalid request: a field or parameter failed validation
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 404Not found in your organization
{ "error": string }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.