Update conversation attributes

Updates or adds custom attributes to an existing conversation. Attributes are merged with existing ones.

Behavior

  • Attributes are merged incrementally (only specified attributes are updated)
  • Existing attributes not included in the request remain unchanged
  • An attribute that is not defined yet on the project is created automatically, guessing its type from the
    submitted value (text, number, date or boolean)
  • Sending null as value empties the attribute without removing it

Response Data

The endpoint returns the conversation id together with all the attributes of the conversation, both the
updated and the unchanged ones.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
\d+

The conversation id

Body Params
attributes
object
required
Responses

401

Authentication credentials are missing or invalid

403

You don't have permission to update this conversation

404

Conversation not found

422

Validation error. Possible causes: attributes must be an object, attribute names contain invalid characters (only alphanumeric, underscores, and hyphens allowed), or attribute values are arrays/objects (only simple types allowed: strings, numbers, booleans).

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json