Skip to main content
GET
Retrieve ticket

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

ticket_id
integer
required

A unique integer value identifying this ticket.

organization_id
string
required

Response

200 - application/json
id
integer
required
read-only
inbox
object
required
channel
object | null
required
customer
object
required
assignee
object | null
required
public_id
string
required
read-only
subject
string
required
Maximum string length: 255
summary
string
required
read-only

AI generated summary of the ticket

customer_visible_reply_count
integer
required
read-only
status
enum<string>
required
read-only
  • created - Created
  • active - Active
  • closed - Closed
Available options:
created,
active,
closed
classification
enum<string>
required
read-only
  • `` - (pending)
  • no_response - No Response
  • customer_inactivity - Customer Inactivity
  • resolved - Resolved
  • invalid - Invalid
  • other - Other
Available options:
,
no_response,
customer_inactivity,
resolved,
invalid,
other
waiting_on
enum<string>
required
read-only
  • `` - (none)
  • customer - Customer
  • associate - Associate
Available options:
,
customer,
associate
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
csat_response
object | null
required
attachments
object[]
required
read-only
origin
enum<string>
required
read-only

How the ticket entered the system (email, api, telegram). Not the conversation medium; use channel.type for that.

  • email - Email
  • api - api
  • telegram - Telegram
  • whatsapp - WhatsApp
Available options:
email,
api,
telegram,
whatsapp
has_attachments
boolean
required
read-only
created_by
object
required
external_recipient_emails
any
required
read-only

Non-inbox recipient addresses from the original email (CC routing); used when sending agent replies.

description
string
description_html
string
sentiment_analysis_class
enum<string>

Sentiment class of the ticket (positive, negative, neutral)

  • positive - Positive
  • negative - Negative
  • neutral - Neutral
  • pending - Pending
Available options:
positive,
negative,
neutral,
pending
tags
object[]
language
string

Detected language code of the message content

Maximum string length: 2
is_spam
boolean