PUT
/conversations/attributes/{id}Update a conversation attribute
Updates an existing conversation attribute's configuration. Supply the fields to change, such as name, description, or team visibility; for relationship attributes, reference.type must be one or many.
idintegerrequired
The ID of the conversation attribute to update.
Intercom-Versionstringoptional
The API version to use. Defaults to 2.17 when omitted; supported versions include 1.0–1.4 and 2.0–2.6.
The conversation attribute fields to update.
namestringoptional
Name of the attribute.
descriptionstringoptional
Readable description of the attribute.
multilinebooleanoptional
(String data type only) Whether this string attribute is multiline.
requiredbooleanoptional
Whether this attribute is required.
visible_to_team_idsarray<string>optional
Team IDs that can see this attribute. Empty array means all teams.
referenceobjectoptional
(Relationship data type only) Reference configuration for related objects.
200Returns the updated conversation attribute, including its type-specific configuration.
typestringoptional
Value is `conversation_attribute`.
idintegeroptional
The unique identifier for the conversation attribute.
namestringoptional
Name of the attribute.
descriptionstringoptional
Readable description of the attribute.
data_typestringoptional
requiredbooleanoptional
Whether this attribute is required.
visible_to_team_idsarray<string>optional
Team IDs that can see this attribute. Empty array means all teams.
archivedbooleanoptional
Whether this attribute is archived.
created_atintegeroptional
The time the attribute was created as a UTC Unix timestamp.
updated_atintegeroptional
The time the attribute was last updated as a UTC Unix timestamp.
admin_idstringoptional
ID of the admin who created the attribute.
multilinebooleanoptional
Whether this string attribute is multiline.
401Returned when the request is unauthenticated.
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 attribute is not found.
One documented failure
conversation_attribute_not_foundConversation attribute 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 unauthenticated, and a 404 is returned when the conversation attribute is not found. The id path parameter must identify the attribute to update. When supplied, reference.type must be one or many.