Skip to content
dimmiDocs

Conversations

Create a tag

POST/api/v1/tags

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the conversations:write ability

Body

application/json
colorstring

A hex color such as #3b82f6.

iconstring

An icon name such as bug, question, lightbulb, rocket, refund-2 or star.

Maximum length: 40

namestringrequired

Up to 100 characters; names are unique whatever their case.

Minimum length: 1 · Maximum length: 100

Response 201

Created
dataobjectrequired
Show child attributes
colorstring | nullrequired

The tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.

iconstring | nullrequired

Name of the tag's icon; null when it has none.

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 tag's name.

objectstringrequired

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

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.