Skip to content

ITicket

Defined in: tickets/tickets.types.ts:47

A Zendesk support ticket; some fields are write-only and only apply when creating or updating.

optional allow_attachments?: boolean | null

Defined in: tickets/tickets.types.ts:49

Permission for agents to add add attachments to a comment. Defaults to true.


optional allow_channelback?: boolean | null

Defined in: tickets/tickets.types.ts:51

Is false if channelback is disabled, true otherwise. Only applicable for channels framework ticket.


optional assignee_email?: string | null

Defined in: tickets/tickets.types.ts:53

Write only. The email address of the agent to assign the ticket to.


optional assignee_id?: number | null

Defined in: tickets/tickets.types.ts:55

The agent currently assigned to the ticket.


optional attribute_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.


optional brand_id?: number | null

Defined in: tickets/tickets.types.ts:59

Enterprise only. The id of the brand this ticket is associated with.


optional collaborator_ids?: number[] | null

Defined in: tickets/tickets.types.ts:61

The ids of users currently CC’ed on the ticket.


optional collaborators?: 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.


optional comment?: 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.


optional created_at?: string | null

Defined in: tickets/tickets.types.ts:67

When this record was created.


optional custom_fields?: ICustomField[] | null

Defined in: tickets/tickets.types.ts:69

Custom fields for the ticket. See Setting custom field values.


optional custom_status_id?: number | null

Defined in: tickets/tickets.types.ts:71

The custom ticket status id of the ticket. See custom ticket statuses.


optional description?: 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.


optional due_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.


optional email_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.


optional email_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.


optional external_id?: string | null

Defined in: tickets/tickets.types.ts:81

An id you can use to link Zendesk Support tickets to local records.


optional follower_ids?: number[] | null

Defined in: tickets/tickets.types.ts:83

The ids of agents currently following the ticket. See CCs and followers resources.


optional followers?: 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.


optional followup_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.


optional forum_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.


optional from_messaging_channel?: boolean | null

Defined in: tickets/tickets.types.ts:91

If true, the ticket’s via type is a messaging channel.


optional group_id?: number | null

Defined in: tickets/tickets.types.ts:93

The group this ticket is assigned to.


optional has_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.


optional id?: number | null

Defined in: tickets/tickets.types.ts:97

Automatically assigned when the ticket is created.


optional is_public?: boolean | null

Defined in: tickets/tickets.types.ts:99

Is true if any comments are public, false otherwise.


optional macro_id?: number | null

Defined in: tickets/tickets.types.ts:101

Write only. A macro ID to be recorded in the ticket audit.


optional macro_ids?: number[] | null

Defined in: tickets/tickets.types.ts:103

POST requests only. List of macro IDs to be recorded in the ticket audit.


optional metadata?: 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.


optional organization_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.


optional priority?: TTicketPriority | null

Defined in: tickets/tickets.types.ts:109

The urgency with which the ticket should be addressed.


optional problem_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.


optional raw_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.


optional recipient?: 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.


optional requester?: Record<string, unknown>

Defined in: tickets/tickets.types.ts:117

Write only. See Creating a ticket with a new requester.


requester_id: number | null

Defined in: tickets/tickets.types.ts:119

The user who requested this ticket.


optional safe_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.


optional satisfaction_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.


optional sharing_agreement_ids?: number[] | null

Defined in: tickets/tickets.types.ts:125

The ids of the sharing agreements used for this ticket.


optional status?: 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.


optional subject?: string | null

Defined in: tickets/tickets.types.ts:129

The value of the subject field for this ticket.


optional submitter_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.


optional tags?: string[] | null

Defined in: tickets/tickets.types.ts:133

The array of tags applied to this ticket.


optional ticket_form_id?: number | null

Defined in: tickets/tickets.types.ts:135

Enterprise only. The id of the ticket form to render for the ticket.


optional type?: TTicketType | null

Defined in: tickets/tickets.types.ts:137

The type of this ticket.


optional updated_at?: string | null

Defined in: tickets/tickets.types.ts:139

When this record last got updated.


optional updated_stamp?: string | null

Defined in: tickets/tickets.types.ts:141

Write only. Datetime of last update received from API. See the safe_update property.


optional url?: string | null

Defined in: tickets/tickets.types.ts:143

The API url of this ticket.


optional via?: IVia | null

Defined in: tickets/tickets.types.ts:145

For more information, see the Via object reference.


optional via_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.


optional via_id?: number | null

Defined in: tickets/tickets.types.ts:149

Write only. For more information, see the Via object reference.


optional voice_comment?: Record<string, unknown>

Defined in: tickets/tickets.types.ts:151

Write only. See Creating voicemail ticket.