Add Leads to a Campaign

Adds a batch of existing contacts as leads to a campaign. Contacts are identified by dsid. Batches larger than 100 are automatically chunked by the server.

Path Parameters
idnumberrequired
The id of the campaign to add leads to.
HTTP Request Examples
[ "139706f7-60b3-4dad-8fae-f040c08694f6", "7dc0c74d-c85b-4433-88a5-8c9eb6ae55dc", "40e5efc8-d33e-4214-8460-719af0419e6c" ]
HTTP Request Parameters
(body)array
JSON array of dsid strings for the contacts to add.
HTTP Response Examples
200
{ "Status": true, "Message": "", "Response": { "leads": [ 24100621, 24100622, 24100623 ] } }
HTTP Response Parameters
leadsarray
Array of newly-created lead ids (numbers), in the same order as the posted dsids.