Skip to content

Create Conversation Attribute Request

Payload for creating a new conversation attribute.

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.

Value:"string"
Example:"string"
Discriminator
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:
[]
multilineboolean

Whether this string attribute is multiline.

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