Skip to main content
POST
Unassign 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
Pattern: ^[-a-zA-Z0-9_]+$

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

Creation-time external CC addresses (CC routing). Used for ticket-created outbound email and as the fallback when a message has no prior customer-visible snapshot; associate replies use the message snapshot for outbound CC.

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

Create-time requester email snapshot. Deprecated for live identity — use customer.email.

from_name
string
required
deprecated
read-only

Create-time requester name snapshot. Deprecated for live identity — 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
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