POST
/conversations/{conversation_id}/tagsAdd a tag to a conversation
Adds a tag to a specific conversation. Provide the tag identifier and the admin identifier in the request body to apply the tag. The response includes the tag that was added.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
conversation_idstringrequired
The unique identifier of the conversation to tag.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to `2.17` when omitted.
Tagging details containing the tag to apply and the admin applying it.
idstringrequired
The unique identifier for the tag which is given by Intercom
admin_idstringrequired
The unique identifier for the admin which is given by Intercom.
200Returns the tag object that was added to the conversation, including its identifier, name, application time, and applying admin when available.
typestringoptional
value is "tag"
idstringoptional
The id of the tag
namestringoptional
The name of the tag
applied_atintegeroptional
The time when the tag was applied to the object. Only present when the tag is returned as part of a tagging operation on a contact, conversation, or ticket.
applied_byobjectoptional
The admin who applied the tag. Only present when the tag is returned as part of a tagging operation on a contact, conversation, or ticket.
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the conversation is not found.
One documented failure
not_foundConversation not found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized, and a 404 when the conversation is not found. The conversation_id path parameter must identify the conversation to tag. Include id and admin_id in the request body.