Skip to main content
POST
/
organizations
/
{organization_id}
/
tickets
/
{pk}
/
unassign
Unassign ticket
curl --request POST \
  --url https://api.example.com/organizations/{organization_id}/tickets/{pk}/unassign/ \
  --header 'X-Initdesk-Token: <api-key>'
{
  "id": 123,
  "inbox": {
    "id": 123,
    "name": "<string>",
    "email_prefix": "<string>"
  },
  "customer": {
    "id": 123,
    "name": "<string>",
    "email": "jsmith@example.com",
    "is_spam": true
  },
  "assignee": {
    "id": 123,
    "email": "jsmith@example.com",
    "name": "<string>"
  },
  "public_id": 123,
  "subject": "<string>",
  "summary": "<string>",
  "customer_visible_reply_count": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "csat_response": {
    "rating": 123,
    "comment": "<string>"
  },
  "attachments": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "download_url": "<string>"
    }
  ],
  "tags": [
    "<string>"
  ],
  "has_attachments": true,
  "created_by": {
    "role": "<string>",
    "user": {
      "id": 123,
      "email": "jsmith@example.com",
      "name": "<string>"
    }
  },
  "external_recipient_emails": "<unknown>",
  "description": "<string>",
  "description_html": "<string>",
  "language": "<string>",
  "is_spam": true
}

Documentation Index

Fetch the complete documentation index at: https://developers.initdesk.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Initdesk-Token
string
header
required

Path Parameters

pk
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
customer
object
required
assignee
object
required
public_id
integer
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
  • pending_associate - Pending (associate)
  • pending_customer - Pending (customer)
  • resolved - Resolved
  • reopened - Reopened
  • invalid - Invalid
Available options:
created,
active,
closed,
pending_associate,
pending_customer,
resolved,
reopened,
invalid
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
required
attachments
object[]
required
read-only
tags
string[]
required
origin
enum<string>
required
read-only
  • email - Email
  • api - api
Available options:
email,
api
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
language
string

Detected language code of the message content

Maximum string length: 2
is_spam
boolean