# Update a ticket type You can update a ticket type. > 📘 Updating a ticket type. > > For the propery, use an emoji from Twemoji Cheatsheet Endpoint: PUT /ticket_types/{id} Version: Unstable Security: bearerAuth ## Header parameters: - `Intercom-Version` (string) Intercom API version.By default, it's equal to the version set in the app package. Enum: "1.0", "1.1", "1.2", "1.3", "1.4", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "2.10", "2.11", "Unstable" ## Path parameters: - `id` (string, required) The unique identifier for the ticket type which is given by Intercom. ## Request fields (application/json): - `name` (string) The name of the ticket type. Example: "Bug" - `description` (string) The description of the ticket type. Example: "A bug has been occured" - `category` (string) Category of the Ticket Type. Enum: "Customer", "Back-office", "Tracker" - `icon` (string) The icon of the ticket type. Example: "🐞" - `archived` (boolean) The archived status of the ticket type. - `is_internal` (boolean) Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers. This is currently a limited attribute. ## Response 200 fields (application/json): - `type` (string) String representing the object's type. Always has the value . Example: "ticket_type" - `id` (string) The id representing the ticket type. Example: "1295" - `category` (string) Category of the Ticket Type. Enum: "Customer", "Back-office", "Tracker" - `name` (string) The name of the ticket type Example: "Bug" - `description` (string) The description of the ticket type Example: "A bug that has been reported." - `icon` (string) The icon of the ticket type Example: "🐞" - `workspace_id` (string) The id of the workspace that the ticket type belongs to. Example: "ecahpwf5" - `ticket_type_attributes` (object) A list of attributes associated with a given ticket type. - `ticket_type_attributes.ticket_type_attributes` (array) A list of ticket type attributes associated with a given ticket type. - `ticket_type_attributes.ticket_type_attributes.id` (string) The id representing the ticket type attribute. Example: "1" - `ticket_type_attributes.ticket_type_attributes.workspace_id` (string) The id of the workspace that the ticket type attribute belongs to. Example: "ecahpwf5" - `ticket_type_attributes.ticket_type_attributes.name` (string) The name of the ticket type attribute Example: "Title" - `ticket_type_attributes.ticket_type_attributes.description` (string) The description of the ticket type attribute Example: "Bug title." - `ticket_type_attributes.ticket_type_attributes.data_type` (string) The type of the data attribute (allowed values: "string list integer decimal boolean datetime files") Example: "string" - `ticket_type_attributes.ticket_type_attributes.input_options` (object) Input options for the attribute Example: "multiline: true" - `ticket_type_attributes.ticket_type_attributes.order` (integer) The order of the attribute against other attributes Example: 1 - `ticket_type_attributes.ticket_type_attributes.required_to_create` (boolean) Whether the attribute is required or not for teammates. - `ticket_type_attributes.ticket_type_attributes.required_to_create_for_contacts` (boolean) Whether the attribute is required or not for contacts. - `ticket_type_attributes.ticket_type_attributes.visible_on_create` (boolean) Whether the attribute is visible or not to teammates. - `ticket_type_attributes.ticket_type_attributes.visible_to_contacts` (boolean) Whether the attribute is visible or not to contacts. - `ticket_type_attributes.ticket_type_attributes.default` (boolean) Whether the attribute is built in or not. Example: true - `ticket_type_attributes.ticket_type_attributes.ticket_type_id` (integer) The id of the ticket type that the attribute belongs to. Example: 42 - `ticket_type_attributes.ticket_type_attributes.archived` (boolean) Whether the ticket type attribute is archived or not. - `ticket_type_attributes.ticket_type_attributes.created_at` (integer) The date and time the ticket type attribute was created. - `ticket_type_attributes.ticket_type_attributes.updated_at` (integer) The date and time the ticket type attribute was last updated. - `ticket_states` (object) A list of ticket states associated with a given ticket type. - `ticket_states.data` (array) A list of ticket states associated with a given ticket type. - `ticket_states.data.id` (string) The id of the ticket state Example: "12" - `ticket_states.data.category` (string) The category of the ticket state Enum: "submitted", "in_progress", "waiting_on_customer", "resolved" - `ticket_states.data.internal_label` (string) The state the ticket is currently in, in a human readable form - visible in Intercom Example: "With Dev Team" - `ticket_states.data.external_label` (string) The state the ticket is currently in, in a human readable form - visible to customers, in the messenger, email and tickets portal. Example: "In Progress" - `archived` (boolean) Whether the ticket type is archived or not. - `created_at` (integer) The date and time the ticket type was created. - `updated_at` (integer) The date and time the ticket type was last updated. ## Response 401 fields (application/json): - `type` (string, required) The type is error.list Example: "error.list" - `request_id` (string,null) Example: "f93ecfa8-d08a-4325-8694-89aeb89c8f85" - `errors` (array, required) An array of one or more error objects - `errors.code` (string, required) A string indicating the kind of error, used to further qualify the HTTP response code Example: "unauthorized" - `errors.message` (string,null) Optional. Human readable description of the error. Example: "Access Token Invalid" - `errors.field` (string,null) Optional. Used to identify a particular field or query parameter that was in error. Example: "email"