Add Tags to a Contact
Applies one or more tags to a contact. You must supply a non-empty array of tag IDs. You can add up to 100 tags in a single request. A successful request returns HTTP204 No Content.
POST
/api/v1/contacts/{identifier}/tagsPath Parameters
string
required
Contact lookup string (
id:<value>, email:<value>, or phone:<value>). Minimum length: 1 character.Request Body
array of strings
required
Array of tag IDs to add to the contact. Must contain between 1 and 100 elements. Each ID must be a numeric string matching
\d+.Code Examples
Response
Remove Tags from a Contact
Removes one or more tags from a contact. Supply the array of tag IDs you want to detach. A successful request returns HTTP204 No Content.
DELETE
/api/v1/contacts/{identifier}/tagsPath Parameters
string
required
Contact lookup string (
id:<value>, email:<value>, or phone:<value>). Minimum length: 1 character.Request Body
array of strings
required
Array of tag IDs to remove from the contact. Must contain between 1 and 100 elements. Each ID must be a numeric string matching
\d+.Code Examples
Response
List Tags on a Contact
You can retrieve all tags currently applied to a contact by fetching the full contact object and reading itstags array. Use the Get Contact endpoint with the contact’s identifier.
The tags array in the contact object includes the following fields for each tag:
string
required
Unique tag ID.
string
required
Human-readable tag name.
string (date-time)
required
When the tag was created.
string (date-time)
required
When the tag was last updated.
string
required
ID of the Workspace this tag belongs to.