Skip to main content
GET
/
organizations
/
{organization_id}
/
tickets
List tickets
curl --request GET \
  --url https://api.initdesk.com/organizations/{organization_id}/tickets/ \
  --header 'X-Initdesk-Token: <api-key>'
{
  "count": 123,
  "results": [
    {
      "id": 123,
      "inbox": {
        "id": 123,
        "name": "<string>",
        "email_prefix": "<string>"
      },
      "public_id": 123,
      "customer": {
        "id": 123,
        "name": "<string>",
        "email": "jsmith@example.com",
        "is_spam": true
      },
      "assignee": {
        "id": 123,
        "email": "jsmith@example.com",
        "name": "<string>"
      },
      "subject": "<string>",
      "short_description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "resolved_at": "2023-11-07T05:31:56Z",
      "customer_visible_reply_count": 123,
      "tags": [
        "<string>"
      ],
      "summary": "<string>",
      "has_attachments": true,
      "language": "<string>"
    }
  ],
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

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

organization_id
string
required

Query Parameters

customer_id
integer

Filter tickets by requester (customer) ID.

is_spam
boolean

When omitted, defaults to false (non-spam only). Set to true to list spam tickets.

ordering
string

Which field to use when ordering the results.

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?page=2"