Add tag
POST/v1/contacts/{customer_id}/tags
Add a tag by tag_id, or by name, creating it when new.
Path parameters
customer_idstringRequired
Request body
tag_idstring, uuidnamestring- 1 to 60 characters
Response
200Success
Response fields
customer_idstringRequiredfirst_namestringRequired- May be null
last_namestringRequired- May be null
usernamestringRequired- May be null
phone_e164stringRequired- May be null
emailstringRequired- May be null
languagestringRequired- May be null
lifecycleobjectRequired- May be null
lifecycle.stage_idstringRequiredlifecycle.namestringRequiredlifecycle.colorstringRequiredtagsarray of objectRequiredtags[].idstringRequiredtags[].namestringRequiredtags[].colorstringRequiredcollaboratorsarray of stringRequiredattributesobjectRequiredstatusstringRequiredchannel_idstringRequired- May be null
last_message_atstringRequired- May be null
last_message_previewstringRequired- May be null
created_atstringRequiredupdated_atstringRequireddeleted_atstringRequired- May be null
Errors
401unauthorized. The key is missing, unknown or revoked403insufficient_scope. The key lacks the scope above404not_found409contact_deleted422validation_error
Every error has the same shape. See Errors.