Skip to main content
POST
Unassign ticket

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

ticket_id
integer
required

The ticket ID.

organization_id
string
required

Organization ID or public ID. A numeric value is the organization id. Any other value is the public id and ignores letter case.

Pattern: ^[-a-zA-Z0-9_]+$

Response

200 - application/json
id
integer
required
read-only
inbox
object
required
channel
object
required

Channel shown on a ticket in list, detail, and search results.

customer
object
required
assignee
object | null
required
public_id
string
required
read-only
subject
string
required
Maximum string length: 255
kind
enum<string>
required
read-only

How the ticket was opened. text is a written message. audio is a voice message. For a voice message, the transcript is in description. An empty description means the transcript is not ready yet, and description_html stays empty.

  • text - Text
  • audio - Audio
Available options:
text,
audio
summary
string
required
read-only

AI generated summary of the ticket

inferred_category
enum<string>
required
read-only

Category inferred from the conversation. Empty until it is classified. Read-only. Separate from spam status and classification.

  • inquiry - Inquiry
  • transactional - Transactional
  • marketing - Marketing
  • spam - Spam
Available options:
inquiry,
transactional,
marketing,
spam
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
priority
enum<string>
required
read-only
  • not_set - No priority
  • low - Low
  • medium - Medium
  • high - High
  • urgent - Urgent
Available options:
not_set,
low,
medium,
high,
urgent
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

Customer satisfaction rating and comment linked to this ticket.

attachments
object[]
required
read-only
origin
enum<string>
required
read-only

How the ticket was opened. Values are email, api, telegram, whatsapp, and support_portal. support_portal is shown as Help Center. This is not the conversation channel. Use channel for the channel. You cannot set this when you create a ticket.

  • email - Email
  • api - api
  • telegram - Telegram
  • whatsapp - WhatsApp
  • support_portal - Help Center
Available options:
email,
api,
telegram,
whatsapp,
support_portal
has_attachments
boolean
required
read-only
created_by
object
required
sender
object
required

Who submitted the opening content. Shape matches Message.sender. Null when that submitter cannot be reconstructed. Independent of customer, which remains the customer on the ticket. Authentication is read-only and was stored at ingestion.

external_recipient_emails
any
required
read-only

Cc addresses saved when the ticket was created. Used for the ticket-created email, and when a reply has no earlier customer-visible Cc list. Associate replies use the Cc list saved on the message.

bcc_recipient_emails
any
required
read-only

Creation-time BCC addresses (CC routing). Used only for ticket-created outbound email; not applied to later associate replies unless set again on a message.

from_email
string<email>
required
deprecated
read-only

Customer email at the time the ticket was created. For the current email, use customer.email.

from_name
string
required
deprecated
read-only

Customer name at the time the ticket was created. For the current name, use customer.name.

snoozed_until
string<date-time> | null
required
read-only

When set, the ticket is snoozed until this time.

snoozed_by
object | null
required
last_snooze_ended_at
string<date-time> | null
required
read-only

When the ticket last left snooze and returned to open queues (timer, manual, or customer reply).

last_unsnooze_reason
enum<string> | null
required
read-only

Why the ticket last left snooze for open queues. Null while snoozed or after close/spam clear.

  • timer - Timer
  • manual - Manual
  • customer_reply - Customer reply
Available options:
timer,
manual,
customer_reply,
null
merged_into
object | null
required

Minimal reference to the surviving ticket of a merge.

merged_at
string<date-time> | null
required
read-only

When this ticket was merged away into merged_into. Null for tickets that were not merged away.

merged_by
object | null
required
delivery_status
enum<string> | null
required
read-only

Delivery state of the email sent when an associate creates a ticket. Empty when that email was not sent. Later replies do not change this field.

  • pending - Pending
  • sent - Sent
  • read - Read
  • failed - Failed
Available options:
pending,
sent,
read,
failed,
null
sent_at
string<date-time> | null
required
read-only

When the email sent at ticket creation was accepted for delivery. Empty until that email is sent.

read_at
string<date-time> | null
required
read-only

When the customer read the email sent at ticket creation. Empty until then. Some channels do not report this.

failed_at
string<date-time> | null
required
read-only

When the email sent at ticket creation failed. Empty until then.

delivery_failure_reason
string
required
read-only

Short reason when the email sent at ticket creation failed. The wording can change.

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