Conversations
Create a tag
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the conversations:write ability
Body
application/jsoncolorstringA hex color such as #3b82f6.
iconstringAn icon name such as bug, question, lightbulb, rocket, refund-2 or star.
Maximum length: 40
namestringrequiredUp to 100 characters; names are unique whatever their case.
Minimum length: 1 · Maximum length: 100
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
colorstring | nullrequiredThe tag's color as a hex value, such as #ff5500, kept as the workspace wrote it; null when it has none.
iconstring | nullrequiredName of the tag's icon; null when it has none.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe tag's name.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.