Set the Tags on a Contact
put
/public/v1/contacts/{contact}/tagsReplaces the contact's tags with the ones sent, and returns them all. Send an empty tags
list to remove every tag.
contactstringrequiredThe contact UUID
page[size]integerNumber of results per page. Minimum 1, maximum 100.
Default:25page[number]integerThe page number to retrieve. Use the
last_pagevalue from themetaresponse to determine the total number of pages available.Default:1
Body
application/jsontagsobject[]requiredmax items 100▶Show 1 child attributesHide child attributes
idstringrequired
Response
200application/jsonArray of ContactTagResource
dataobject[]required▶Show 3 child attributesHide child attributes
idstringrequiredExample:c4a5b6c7-d8e9-40f1-a2b3-c4d5e6f7a8b9namestringrequiredExample:GPcolourstring | nullrequiredExample:#1f2e56
401Unauthenticated403Authorization error404Not found422Validation error