Skip to main content
POST
/
email
/
campaigns
/
{campaign_id}
/
add
Bulk Add Contacts to Campaign
curl --request POST \
  --url https://api.getoutbox.ai/email/campaigns/{campaign_id}/add/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_ids": "<unknown>",
  "filters": "<unknown>",
  "limit": 123
}
'
{
  "created": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string<uuid>
required

Body

contact_ids
any

Array of contact UUIDs, or the literal string "all".

filters
any
limit
integer

Response

created
integer
required

Number of new enrollments created (existing enrollments are unchanged).