ITicket
Defined in: tickets/tickets.types.ts:47
A Zendesk support ticket; some fields are write-only and only apply when creating or updating.
Properties
Section titled “Properties”allow_attachments?
Section titled “allow_attachments?”
optionalallow_attachments?:boolean|null
Defined in: tickets/tickets.types.ts:49
Permission for agents to add add attachments to a comment. Defaults to true.
allow_channelback?
Section titled “allow_channelback?”
optionalallow_channelback?:boolean|null
Defined in: tickets/tickets.types.ts:51
Is false if channelback is disabled, true otherwise. Only applicable for channels framework ticket.
assignee_email?
Section titled “assignee_email?”
optionalassignee_email?:string|null
Defined in: tickets/tickets.types.ts:53
Write only. The email address of the agent to assign the ticket to.
assignee_id?
Section titled “assignee_id?”
optionalassignee_id?:number|null
Defined in: tickets/tickets.types.ts:55
The agent currently assigned to the ticket.
attribute_value_ids?
Section titled “attribute_value_ids?”
optionalattribute_value_ids?:string[] |null
Defined in: tickets/tickets.types.ts:57
Write only. An array of the IDs of attribute values to be associated with the ticket.
brand_id?
Section titled “brand_id?”
optionalbrand_id?:number|null
Defined in: tickets/tickets.types.ts:59
Enterprise only. The id of the brand this ticket is associated with.
collaborator_ids?
Section titled “collaborator_ids?”
optionalcollaborator_ids?:number[] |null
Defined in: tickets/tickets.types.ts:61
The ids of users currently CC’ed on the ticket.
collaborators?
Section titled “collaborators?”
optionalcollaborators?:unknown[] |null
Defined in: tickets/tickets.types.ts:63
POST requests only. Users to add as cc’s when creating a ticket. See Setting Collaborators.
comment?
Section titled “comment?”
optionalcomment?:IComment|null
Defined in: tickets/tickets.types.ts:65
Write only. An object that adds a comment to the ticket. See Ticket comments. To include an attachment with the comment, see Attaching files.
created_at?
Section titled “created_at?”
optionalcreated_at?:string|null
Defined in: tickets/tickets.types.ts:67
When this record was created.
custom_fields?
Section titled “custom_fields?”
optionalcustom_fields?:ICustomField[] |null
Defined in: tickets/tickets.types.ts:69
Custom fields for the ticket. See Setting custom field values.
custom_status_id?
Section titled “custom_status_id?”
optionalcustom_status_id?:number|null
Defined in: tickets/tickets.types.ts:71
The custom ticket status id of the ticket. See custom ticket statuses.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: tickets/tickets.types.ts:73
Read-only first comment on the ticket. When creating a ticket, use comment to set the description. See Description and first comment.
due_at?
Section titled “due_at?”
optionaldue_at?:string|null
Defined in: tickets/tickets.types.ts:75
If this is a ticket of type “task” it has a due date. Due date format uses ISO 8601 format.
email_cc_ids?
Section titled “email_cc_ids?”
optionalemail_cc_ids?:number[] |null
Defined in: tickets/tickets.types.ts:77
The ids of agents or end users currently CC’ed on the ticket. See CCs and followers resources in the Support Help Center.
email_ccs?
Section titled “email_ccs?”
optionalemail_ccs?:Record<string,unknown>[]
Defined in: tickets/tickets.types.ts:79
Write only. An array of objects that represent agent or end users email CCs to add or delete from the ticket. See Setting email CCs.
external_id?
Section titled “external_id?”
optionalexternal_id?:string|null
Defined in: tickets/tickets.types.ts:81
An id you can use to link Zendesk Support tickets to local records.
follower_ids?
Section titled “follower_ids?”
optionalfollower_ids?:number[] |null
Defined in: tickets/tickets.types.ts:83
The ids of agents currently following the ticket. See CCs and followers resources.
followers?
Section titled “followers?”
optionalfollowers?:Record<string,unknown>[]
Defined in: tickets/tickets.types.ts:85
Write only. An array of objects that represent agent followers to add or delete from the ticket. See Setting followers.
followup_ids?
Section titled “followup_ids?”
optionalfollowup_ids?:number[] |null
Defined in: tickets/tickets.types.ts:87
The ids of the followups created from this ticket. Ids are only visible once the ticket is closed.
forum_topic_id?
Section titled “forum_topic_id?”
optionalforum_topic_id?:number|null
Defined in: tickets/tickets.types.ts:89
The topic in the Zendesk Web portal this ticket originated from, if any. The Web portal is deprecated.
from_messaging_channel?
Section titled “from_messaging_channel?”
optionalfrom_messaging_channel?:boolean|null
Defined in: tickets/tickets.types.ts:91
If true, the ticket’s via type is a messaging channel.
group_id?
Section titled “group_id?”
optionalgroup_id?:number|null
Defined in: tickets/tickets.types.ts:93
The group this ticket is assigned to.
has_incidents?
Section titled “has_incidents?”
optionalhas_incidents?:boolean|null
Defined in: tickets/tickets.types.ts:95
Is true if a ticket is a problem type and has one or more incidents linked to it. Otherwise, the value is false.
optionalid?:number|null
Defined in: tickets/tickets.types.ts:97
Automatically assigned when the ticket is created.
is_public?
Section titled “is_public?”
optionalis_public?:boolean|null
Defined in: tickets/tickets.types.ts:99
Is true if any comments are public, false otherwise.
macro_id?
Section titled “macro_id?”
optionalmacro_id?:number|null
Defined in: tickets/tickets.types.ts:101
Write only. A macro ID to be recorded in the ticket audit.
macro_ids?
Section titled “macro_ids?”
optionalmacro_ids?:number[] |null
Defined in: tickets/tickets.types.ts:103
POST requests only. List of macro IDs to be recorded in the ticket audit.
metadata?
Section titled “metadata?”
optionalmetadata?:IMetadata|null
Defined in: tickets/tickets.types.ts:105
Write only. Metadata for the audit. In the audit object, the data is specified in the custom property of the metadata object. See Setting Metadata.
organization_id?
Section titled “organization_id?”
optionalorganization_id?:number|null
Defined in: tickets/tickets.types.ts:107
The organization of the requester. You can only specify the ID of an organization associated with the requester. See Organization Memberships.
priority?
Section titled “priority?”
optionalpriority?:TTicketPriority|null
Defined in: tickets/tickets.types.ts:109
The urgency with which the ticket should be addressed.
problem_id?
Section titled “problem_id?”
optionalproblem_id?:number|null
Defined in: tickets/tickets.types.ts:111
For tickets of type “incident”, the ID of the problem the incident is linked to.
raw_subject?
Section titled “raw_subject?”
optionalraw_subject?:string|null
Defined in: tickets/tickets.types.ts:113
The dynamic content placeholder, if present, or the “subject” value, if not. See Dynamic Content Items.
recipient?
Section titled “recipient?”
optionalrecipient?:string|null
Defined in: tickets/tickets.types.ts:115
The original recipient e-mail address of the ticket. Notification emails for the ticket are sent from this address.
requester?
Section titled “requester?”
optionalrequester?:Record<string,unknown>
Defined in: tickets/tickets.types.ts:117
Write only. See Creating a ticket with a new requester.
requester_id
Section titled “requester_id”requester_id:
number|null
Defined in: tickets/tickets.types.ts:119
The user who requested this ticket.
safe_update?
Section titled “safe_update?”
optionalsafe_update?:boolean|null
Defined in: tickets/tickets.types.ts:121
Write only. Optional boolean. When true and an update_stamp date is included, protects against ticket update collisions and returns a message to let you know if one occurs. See Protecting against ticket update collisions. A value of false has the same effect as true. Omit the property to force the updates to not be safe.
satisfaction_rating?
Section titled “satisfaction_rating?”
optionalsatisfaction_rating?:Record<string,unknown>
Defined in: tickets/tickets.types.ts:123
The satisfaction rating of the ticket, if it exists, or the state of satisfaction, “offered” or “unoffered”. The value is null for plan types that don’t support CSAT.
sharing_agreement_ids?
Section titled “sharing_agreement_ids?”
optionalsharing_agreement_ids?:number[] |null
Defined in: tickets/tickets.types.ts:125
The ids of the sharing agreements used for this ticket.
status?
Section titled “status?”
optionalstatus?:TTicketStatus|null
Defined in: tickets/tickets.types.ts:127
The state of the ticket. If your account has activated custom ticket statuses, this is the ticket’s status category. See custom ticket statuses.
subject?
Section titled “subject?”
optionalsubject?:string|null
Defined in: tickets/tickets.types.ts:129
The value of the subject field for this ticket.
submitter_id?
Section titled “submitter_id?”
optionalsubmitter_id?:number|null
Defined in: tickets/tickets.types.ts:131
The user who submitted the ticket. The submitter always becomes the author of the first comment on the ticket.
optionaltags?:string[] |null
Defined in: tickets/tickets.types.ts:133
The array of tags applied to this ticket.
ticket_form_id?
Section titled “ticket_form_id?”
optionalticket_form_id?:number|null
Defined in: tickets/tickets.types.ts:135
Enterprise only. The id of the ticket form to render for the ticket.
optionaltype?:TTicketType|null
Defined in: tickets/tickets.types.ts:137
The type of this ticket.
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string|null
Defined in: tickets/tickets.types.ts:139
When this record last got updated.
updated_stamp?
Section titled “updated_stamp?”
optionalupdated_stamp?:string|null
Defined in: tickets/tickets.types.ts:141
Write only. Datetime of last update received from API. See the safe_update property.
optionalurl?:string|null
Defined in: tickets/tickets.types.ts:143
The API url of this ticket.
optionalvia?:IVia|null
Defined in: tickets/tickets.types.ts:145
For more information, see the Via object reference.
via_followup_source_id?
Section titled “via_followup_source_id?”
optionalvia_followup_source_id?:number|null
Defined in: tickets/tickets.types.ts:147
POST requests only. The id of a closed ticket when creating a follow-up ticket. See Creating a follow-up ticket.
via_id?
Section titled “via_id?”
optionalvia_id?:number|null
Defined in: tickets/tickets.types.ts:149
Write only. For more information, see the Via object reference.
voice_comment?
Section titled “voice_comment?”
optionalvoice_comment?:Record<string,unknown>
Defined in: tickets/tickets.types.ts:151
Write only. See Creating voicemail ticket.