PUT/conversations/attributes/{id}/options/{option_id}

Update an option on a conversation attribute

Updates the label of an option on a list-type conversation attribute. Supply the option's UUID in option_id and the replacement text in label; the response includes the full attribute with its updated options.

3 parameters · 1 body field
idintegerrequired
The ID of the list-type conversation attribute containing the option.
option_idstringrequired
The UUID of the option to update, taken from its `id` field in the options array.
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.
Allowed:1.01.11.21.31.42.02.12.22.32.42.52.6Default:2.17

The replacement label for the option.

labelstringrequired
The updated label for the option.

4 status codes
200Returns the full conversation attribute with the updated options array.
typestringoptional
Value is `conversation_attribute`.
Allowed:conversation_attribute
idintegeroptional
The unique identifier for the conversation attribute.
namestringoptional
Name of the attribute.
descriptionstringoptional
Readable description of the attribute.
data_typestringoptional
Allowed:string
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

  • unauthorized

    Access 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 or option is not found.

One documented failure

  • conversation_attribute_not_found

    Conversation attribute not found

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
422Returned when the option update cannot be processed.

One documented failure

  • parameter_invalid

    Options can only be managed on list attributes

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, a 404 is returned when the conversation attribute or option is not found, and a 422 is returned when the update cannot be processed. The id path parameter must identify a list-type attribute, and the option_id path parameter must be the option's UUID. label is required.