Skip to content

Create Conversation Attribute Request Base

namestringrequired

Name of the attribute.

Example:"api_test_attr"
descriptionstring

Readable description of the attribute.

Example:"Created via API test"
data_typestringrequired

The data type of the attribute. Allowed types: string, integer, list, decimal, boolean, datetime, relationship, files.

Enum:"string""integer""list""decimal""boolean""datetime""relationship""files"
Example:"string"
requiredboolean

Whether this attribute is required.

Example:false
visible_to_team_idsArray of strings

Team IDs that can see this attribute. Empty array means all teams.

Example:
[]
{ "name": "api_test_attr", "description": "Created via API test", "data_type": "string", "required": false, "visible_to_team_ids": [] }