Add contacts to a list
Add contacts to a list
This endpoint will add one or more contacts to the specified list.
POSThttps://api.bird.com/workspaces/{workspaceId}/lists/{listId}/contacts
Path parameters
workspaceId*string (uuid)
Your workspace identifier.
"b4e02c85-c6d2-4b15-8885-e09671799c61"
listId*string (uuid)
The ID of a list.
"b4e02c85-c6d2-4b15-8885-e09671799c61"
Body
contactsarray of string (uuid)
The list of contact ids to add to the list.
Response
The contacts were added successfully, and the number of contacts that were processed is returned. If it doesn't match the number of contacts provided, it means some of the contacts were not processed.
Body
itemsProcessed*integer
The number of contacts that were processed.
100
Request
Response
Examples
Let's establish some of our data that will be used in the following examples:
Workspace ID: a1405560-c8d3-4b1a-877d-3f449ad95352
AccessKey: abcd
List ID: 123e4567-e89b-12d3-a456-426614174000
Contact ID: 12bd0e40-9361-4e32-8b26-99b4ab7eae09
Add a contact to a list
In this example, we're adding a contact to a list given both IDs.
Last updated