Campaigns
Enroll Contacts in a Campaign
Changed onEnrolls 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.
This always creates a new audience. Audiences can be shared across campaigns, so a contact added to one is enrolled in every campaign using it.
post/v1/campaigns/{campaign_id}/enroll
Request
- Base URLhttps://api.monaco.com
- URLhttps://api.monaco.com/v1/campaigns/{campaign_id}/enroll
- Authnone declared
Path parameters
campaign_idstring uuid required
Request body
Example request
{
"audience_name": "Q3 Enterprise Outbound — July batch",
"contact_ids": [
"550e8400-e29b-41d4-a716-446655440020"
]
}Response
Successful Response
Example response
{
"data": {
"success_count": 2,
"failure_count": 1,
"failure_reasons": [
{
"code": "contact_has_active_sequence",
"description": "existing active sequence",
"count": 1
}
]
}
}Changes
- info
endpoint added
- info