API ReferenceBuilding AppsInstalling IntercomAPI & Webhook ReferenceCanvas Kit Reference
DocsApp StoreCommunityBlogYour Apps

The Ticket model

Tickets are how you can capture complex requests, allowing you to collaborate and keep track of progress until a resolution is reached.

Object Models

Ticket

FieldTypeDescription
typestringAlways ticket
idstringThe id representing the ticket.
ticket_attributesobjectAn object containing the different attributes associated to the ticket as key-value pairs. For the default title and description attributes, the keys are _default_title_ and _default_description_.
ticket_statestringThe state the ticket is currenly in
ticket_typeobjectA ticket type, used to define the data fields to be captured in a ticket.
contactsobjectThe list of contacts (users or leads) affected by a ticket.
admin_assignee_idstringThe id representing the admin assigned to the ticket.
team_assignee_idstringThe id representing the team assigned to the ticket.
created_atintegerThe time the ticket was created.
updated_atintegerThe last time the ticket was updated.
ticket_partsobjectA list of Ticket Part objects for each note and event in the ticket. There is a limit of 500 parts.

Ticket Type

FieldTypeDescription
typestringString representing the object's type. Always has the value ticket_type.
idstringThe id representing the ticket type.
namestringThe name of the ticket type
descriptionstringThe description of the ticket type
iconstringThe icon of the ticket type
workspace_idstringThe id of the workspace that the ticket type belongs to.
ticket_type_attributesobjectA list of attributes associated with a given ticket type.
archivedbooleanWhether the ticket type is archived or not.
created_atintegerThe date and time the ticket type was created.
updated_atintegerThe date and time the ticket type was last updated.

Ticket Contacts

FieldTypeDescription
typestringalways contact.list
contactsarrayThe list of contacts (users or leads) affected by this ticket.

Ticket Parts

FieldTypeDescription
typestring
ticket_partsarrayA list of Ticket Part objects for each ticket. There is a limit of 500 parts.
total_countinteger

Ticket Part Types

TypeDescription
noteA note has been created by an admin on the ticket that can only be viewed by admins.
note_and_reopenA note has been created and the ticket has been reopened in one action.
note_and_unsnoozeA note has been created and the ticket has been unsnoozed in one action.
assignmentThe ticket has been assigned to an admin or Nobody.
assign_and_unsnoozeThe ticket has been assigned to an admin or Nobody and unsnoozed in one action.
workflow_assignmentThe ticket has been assigned to an admin by an inbox workflow.
openThe ticket has been opened.
closeThe ticket has been closed.
away_mode_assignmentThe ticket has been assigned due to the admin being in away mode.
snoozedThe ticket has been snoozed.
unsnoozedThe ticket has been unsnoozed.
timer_unsnoozeThe ticket has been scheduled to unsnooze after a set time.
custom_action_startedA custom action has been triggered on the ticket.
custom_action_finishedA custom action has finished execution on the ticket.
ticket_attribute_updated_by_adminAn attribute on the ticket has been updated by an admin.
ticket_attribute_updated_by_workflowAn attribute on the ticket has been updated by an inbox workflow.
ticket_state_updated_by_adminThe state of the ticket has been updated by an admin.
ticket_state_updated_by_workflowThe state of the ticket has been updated by a workflow.