Skip to content
dimmiDocs

Conversations

Set a conversation's attributes

Sets or clears some of a conversation's attribute values. A value set here is never replaced by the AI. Returns the conversation's attributes as they now are.

PATCH/api/v1/conversations/{conversation}/attributes

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the conversations:write ability

Path parameters

conversationstringrequired

Id of the conversation, such as conv_01jx2m8k4t, or its number, such as 1042 for #1042. Find it with GET /conversations or GET /search.

Body

application/json
valuesobjectrequired

The values to set, by key, such as {"issue_type": "Billing"}; null clears one. Each must fit its attribute's type.

Response 200

OK
dataobjectrequired
Show child attributes
checked_atstring | nullrequired

When the AI last read the conversation. Null when it never has.

Format: date-time

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

valuesobject[] | nullrequired

Each active attribute with its value, and each archived one that still holds one.

Show child attributes
attributeobjectrequired
Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

data_typestringrequired

What the value is: text, long_text, number, decimal, choice, multiple_choice, boolean, date, datetime, file, contact or company.

descriptionstringrequired

What it means; the AI reads it to decide the value. Empty when not set.

filled_bystringrequired

Who fills it: ai, teammates or both.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

keystringrequired

The attribute's key, as conditions and variables name it: conversation.ai.<key>.

labelstringrequired

What the team calls the attribute.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

option_descriptionsobjectrequired

What some options mean, by option, for the AI to read. Empty when none is described.

optionsstring[] | nullrequired

With choice or multiple_choice, the values it may take. Empty otherwise.

required_to_closebooleanrequired

Whether teammates must fill it before closing a conversation.

statusstringrequired

active while it is filled, archived once it stopped.

team_idsstring[] | nullrequired

The teams that see it in the inbox. Empty when every team does.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

filesobject[] | nullrequired

With a file attribute, the files the value holds, each with a short-lived link. Empty otherwise.

Show child attributes
blockedbooleanrequired

True when the malware scan refused the file, so it cannot be downloaded.

content_idstring | nullrequired

The id an email's text uses to show this picture in place, written there as cid:<content id>. Null for an ordinary attachment.

content_typestringrequired

The file's media type, such as image/png or application/pdf.

filenamestringrequired

The file's name, such as invoice.pdf.

heightinteger | nullrequired

Height of an image in pixels. Null when it is not known or the file is not an image.

Format: int32

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

scannedbooleanrequired

True when the malware scan found the file clean. A file with a url that is not scanned was never checked.

size_bytesintegerrequired

The file's size in bytes.

Format: int64

urlstring | nullrequired

A link that reads the file for a few minutes; fetch it again when it lapses. Null until the malware scan lets the file through.

widthinteger | nullrequired

Width of an image in pixels. Null when it is not known or the file is not an image.

Format: int32

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

set_byobjectrequired
Show child attributes
atstringrequired

When it was set, as an RFC 3339 time.

Format: date-time

bystringrequired

ai, member, workflow or import.

idstring | nullrequired

The teammate's id when a teammate set it. Null otherwise.

namestring | nullrequired

The teammate's or the workflow's name. Null for the AI and imports.

reasonstring | nullrequired

Why the AI chose the value, in a sentence. Null when the AI gave none or someone else set it.

surenessnumber | nullrequired

How sure the AI was, from 0 to 1. Null when the AI did not say or someone else set it.

Format: double

valueanyrequired

The value, in the attribute's type: text, a number, true or false, a YYYY-MM-DD date, an RFC 3339 date and time, an option, a list of options or file ids, or a contact or company id. Null when empty.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.