POST
/internal_articles/{internal_article_id}/tagsAdd a tag to an internal article
Attaches an existing tag to an internal article. Supply the tag's id; the authenticated user must have the manage_knowledge_base_content permission and the read_write_articles_scope OAuth scope.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
internal_article_idintegerrequired
The unique integer identifier of the internal article to tag.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
Tagging details. The id field is required.
idstringrequired
The unique identifier of the tag to apply, as given by Intercom.
admin_idstringoptional
Optional id of the teammate to attribute the tagging to. Defaults to the authenticating teammate. Does not affect authorization.
200Returns the applied tag, including its ID and name.
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 not authorized.
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
403Returned when the authenticated user lacks permission to manage knowledge base content.
One documented failure
forbiddenNot authorized to manage knowledge base content
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the internal article or tag does not exist.
2 documented failures
internal_article_not_foundInternal article not found
tag_not_foundTag 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 not authorized. A 403 is returned when the authenticated user lacks the manage_knowledge_base_content permission. A 404 is returned when the internal article or tag does not exist. The body must include id, and the request requires the read_write_articles_scope OAuth scope.