> ## Documentation Index
> Fetch the complete documentation index at: https://developer.qminder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ticket

No description

```graphql theme={null}
type Ticket {
  id: ID!
  status: TicketStatus!
  statusSetAt: Date!
  statusSetBy: User
  line: Line!
  firstName: String
  lastName: String
  phoneNumber: Long
  email: String
  created: TicketCreated!
  waitStartedAt: Date
  cancelled: TicketCancelled
  assignee: User
  caller: User
  fields2: [TicketFieldV2!]!
  labels: [TicketLabel!]!
  interactions(
    filter: InteractionsFilter
  ): [Interaction!]!
  messages: [TicketMessage!]!
  connectedTickets: [Ticket!]
  audits: [TicketAudit!]!
  external: [TicketExternalData!]!
  language: Language!
  appointment: Appointment
}
```

### Fields

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">id</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">ID!</code></span>](/reference/graphql/scalars/id) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">status</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">TicketStatus!</code></span>](/reference/graphql/enums/ticket-status) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">enum</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">statusSetAt</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date!</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">statusSetBy</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">User</code></span>](/reference/graphql/objects/user) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">line</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Line!</code></span>](/reference/graphql/objects/line) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">firstName</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">lastName</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">phoneNumber</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Long</code></span>](/reference/graphql/scalars/long) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">email</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">String</code></span>](/reference/graphql/scalars/string) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">created</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">TicketCreated!</code></span>](/reference/graphql/objects/ticket-created) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">waitStartedAt</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Date</code></span>](/reference/graphql/scalars/date) <mark class="gqlmd-mdx-badge">scalar</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">cancelled</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">TicketCancelled</code></span>](/reference/graphql/objects/ticket-cancelled) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">assignee</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">User</code></span>](/reference/graphql/objects/user) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">caller</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">User</code></span>](/reference/graphql/objects/user) <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">fields2</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[TicketFieldV2!\]!</code></span>](/reference/graphql/objects/ticket-field-v2) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">labels</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[TicketLabel!\]!</code></span>](/reference/graphql/objects/ticket-label) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">interactions</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[Interaction!\]!</code></span>](/reference/graphql/objects/interaction) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

##### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket.interactions</code>.<code class="gqlmd-mdx-entity-name">filter</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">InteractionsFilter</code></span>](/reference/graphql/inputs/interactions-filter) <mark class="gqlmd-mdx-badge">input</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">messages</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[TicketMessage!\]!</code></span>](/reference/graphql/objects/ticket-message) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">connectedTickets</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[Ticket!\]</code></span>](/reference/graphql/objects/ticket) <mark class="gqlmd-mdx-badge">list</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">audits</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[TicketAudit!\]!</code></span>](/reference/graphql/objects/ticket-audit) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">external</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">\[TicketExternalData!\]!</code></span>](/reference/graphql/objects/ticket-external-data) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">language</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Language!</code></span>](/reference/graphql/objects/language) <mark class="gqlmd-mdx-badge">non-null</mark> <mark class="gqlmd-mdx-badge">object</mark>

#### [<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-parent">Ticket</code>.<code class="gqlmd-mdx-entity-name">appointment</code></span>](#)<span class="gqlmd-mdx-bullet"> ● </span>[<span class="gqlmd-mdx-entity"><code class="gqlmd-mdx-entity-name">Appointment</code></span>](/reference/graphql/objects/appointment) <mark class="gqlmd-mdx-badge">object</mark>

### Returned By

[`calledTickets`](/reference/graphql/subscriptions/called-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`cancelledTickets`](/reference/graphql/subscriptions/cancelled-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`changedTickets`](/reference/graphql/subscriptions/changed-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`createdTickets`](/reference/graphql/subscriptions/created-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`markedAllTicketMessagesAsRead`](/reference/graphql/subscriptions/marked-all-ticket-messages-as-read)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`myCalledTickets`](/reference/graphql/queries/my-called-tickets)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`recalledTickets`](/reference/graphql/subscriptions/recalled-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`reorderedTickets`](/reference/graphql/deprecated/subscriptions/reordered-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`reorderedTicketsList`](/reference/graphql/subscriptions/reordered-tickets-list)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`servedTickets`](/reference/graphql/subscriptions/served-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ticket`](/reference/graphql/queries/ticket)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ticketSearch`](/reference/graphql/queries/ticket-search)  <mark class="gqlmd-mdx-badge">query</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ticketStateChanged`](/reference/graphql/subscriptions/ticket-state-changed)  <mark class="gqlmd-mdx-badge">subscription</mark><span class="gqlmd-mdx-bullet"> ● </span>[`tvTickets`](/reference/graphql/subscriptions/tv-tickets)  <mark class="gqlmd-mdx-badge">subscription</mark>

### Member Of

[`ChangedMultiTicketField`](/reference/graphql/objects/changed-multi-ticket-field)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ChangedTicketField`](/reference/graphql/interfaces/changed-ticket-field)  <mark class="gqlmd-mdx-badge">interface</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ChangedTicketLabel`](/reference/graphql/objects/changed-ticket-label)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`ChangedUniTicketField`](/reference/graphql/objects/changed-uni-ticket-field)  <mark class="gqlmd-mdx-badge">object</mark><span class="gqlmd-mdx-bullet"> ● </span>[`Ticket`](/reference/graphql/objects/ticket)  <mark class="gqlmd-mdx-badge">object</mark>
