Skip to content
dimmiDocs

Conversations

See what uses a conversation attribute

Says how many conversations hold a value, and which workflows and views use it. Returns the counts and names, and whether it can be deleted.

GET/api/v1/conversation-attributes/{attribute}/usage

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the attributes:write ability

Path parameters

attributestringrequired

Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions.

Response 200

OK
dataobjectrequired
Show child attributes
conversationsintegerrequired

How many conversations hold a value of the attribute.

Format: int64

deletablebooleanrequired

Whether it can be deleted: true only when nothing uses it.

objectstringrequired

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

viewsobject[] | nullrequired

The inbox views that filter by it.

Show child attributes
idstringrequired

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

namestringrequired

The workflow's or view's name.

workflowsobject[] | nullrequired

The workflows that read or set it.

Show child attributes
idstringrequired

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

namestringrequired

The workflow's or view's name.

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.