Documentation
Sign inGet started

Add contacts to an audience

POST
/v1/audiences/{audience_id}/contacts
curl -X POST "https://us1.platform.bird.com/v1/audiences/{audience_id}/contacts" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "contact_ids": [
      "con_01krdgeqcxet5s7t44vh8rt9mg"
    ]
  }'
Adds up to 1,000 contacts to a static audience. Contacts that are already members are left in place. If any contact ID does not exist, the whole request fails and no contacts are added.
Parameter
audience_id
string
Audience ID.
Payload Permintaan
contact_ids
array of string
wajib
Contacts to add to the audience. Adding a contact that is already a member has no effect. If any ID does not exist, the whole request fails and no contacts are added.