Enroll Contacts in a Campaign
Enrolls contacts into a campaign by creating a new audience named audience_name, attaching it to the campaign, and adding the contacts to it. The campaign must be active or paused. Sequences are created asynchronously; contacts already enrolled in the campaign are deduplicated then and still count as successes here. This always creates a new audience. Before calling this tool, if the campaign already has audiences, you MUST ask the user whether to create a new audience or add the contacts to an existing one via add_contacts_to_audience — and warn them that audiences can be shared, so adding contacts to a shared audience enrolls them in every campaign that uses it.
Path Parameters
Body
Name for the new audience created to hold these contacts; pick something short and relevant to the enrollment. Must be unique within the organization — a duplicate name is rejected, so vary it and retry.
1 - 255"Q3 Enterprise Outbound — July batch"
IDs of the contacts to enroll in the campaign
1 - 10000 elementsResponse
Successful Response
Aggregate outcome of enrolling contacts into a campaign.
Counts reflect contacts added to the campaign's new audience. Sequence creation happens asynchronously, so contacts already enrolled in the campaign are deduplicated later and still count as successes here.