Skip to content
Campaigns

Add contacts to a campaign

POST/campaigns/{id}/rows

Append contacts to an existing campaign. Each new contact becomes a call in the not_launched status: nothing is dialed until POST /campaigns/{id}/launch-calls sends it. Contacts whose phone number is already in the campaign are skipped.

Path parameters

Request body

  • contactsarray of objectrequired

    The contacts to add. A number already in the campaign, or repeated in the list, is skipped.

    at least 1 item

Response

200
  • campaignCampaign
  • addednumber

    Contacts 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.