Create Ticket Type Attribute Request Payload

You can create a Ticket Type Attribute

name
required
string

The name of the ticket type attribute

description
required
string

The description of the attribute presented to the teammate or contact

data_type
required
string

The data type of the attribute

Enum: "string" "list" "integer" "decimal" "boolean" "datetime" "files"
required_to_create
boolean
Default: false

Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.

required_to_create_for_contacts
boolean
Default: false

Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.

visible_on_create
boolean
Default: true

Whether the attribute is visible to teammates when creating a ticket in Inbox.

visible_to_contacts
boolean
Default: true

Whether the attribute is visible to contacts when creating a ticket in Messenger.

multiline
boolean

Whether the attribute allows multiple lines of text (only applicable to string attributes)

list_items
string

A comma delimited list of items for the attribute value (only applicable to list attributes)

allow_multiple_values
boolean

Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)

{ "name": "Bug Priority", "description": "Priority level of the bug", "data_type": "string", "required_to_create": false, "required_to_create_for_contacts": false, "visible_on_create": true, "visible_to_contacts": true, "multiline": false, "list_items": "Low Priority,Medium Priority,High Priority", "allow_multiple_values": false }