Deletion of ticket type attributes is not possible as existing tickets of the same type might still use the attribute, so we allow for soft deletion/archiving of attributes by setting the "archived" property.
Tickets are how you can capture complex requests, allowing you to collaborate and keep track of progress until a resolution is reached. Each ticket is of a certain ticket type.
Each ticket type defines names and properties of the fields (attributes) presented to the teammate or contact when creating the ticket via Inbox and/or Messenger. Ticket type attributes can be retrieved through the Ticket Type API as part of the ticket type response, and created and updated through dedicated ticket type attribute requests.
Ticket Type Attribute
|type||string||String representing the object's type. Always has the value |
|id||string||The id representing the ticket type attribute.|
|workspace_id||string||The id of the workspace that the ticket type attribute belongs to.|
|name||string||The name of the ticket type attribute|
|description||string||The description of the ticket type attribute|
|data_type||string||The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")|
|input_options||object||Input options for the attribute|
|order||integer||The order of the attribute against other attributes|
|required_to_create||boolean||Whether the attribute is required or not for teammates.|
|required_to_create_for_contacts||boolean||Whether the attribute is required or not for contacts.|
|visible_on_create||boolean||Whether the attribute is visible or not to teammates.|
|visible_to_contacts||boolean||Whether the attribute is visible or not to contacts.|
|default||boolean||Whether the attribute is built in or not.|
|ticket_type_id||integer||The id of the ticket type that the attribute belongs to.|
|archived||boolean||Whether the ticket type attribute is archived or not.|
|created_at||integer||The date and time the ticket type attribute was created.|
|updated_at||integer||The date and time the ticket type attribute was last updated.|