List tickets

このページは 日本語 ではまだ利用できません。デフォルトの言語 (English) で表示しています。

List tickets

POSThttps://api.cekat.ai/api/tickets/list

Lists tickets with search, filters and sorting. Each ticket includes its template, products and conversation.

Authorization

api_keystringheaderrequired

Your Cekat API key, from Settings → Developers & API in the Cekat dashboard.

Authorizationstringheader

Alternative to api_key: send the same key as Bearer YOUR_API_KEY.

Body application/json

board_idstring<uuid>

Only tickets on this board.

filtersobject
Show child attributes
statusstring[]

Status IDs, and/or done.

priorityinteger[]
assigned_tostring[]

Agent IDs. Matches tickets assigned to all of them.

created_bystring[]
conversation_idstring<uuid>
session_idstring
contact_idstring<uuid>
company_idstring<uuid>
created_start_datestring<date-time>
created_end_datestring<date-time>
sortsobject
Show child attributes
fieldstring
Available options: created_at, updated_at, title, priority, status
directionstring
Available options: asc, desc
pageinteger
default: 1min: 1
limitinteger
default: 100min: 1max: 1000

Response

200
400
401
429

A page of tickets.

messagestring
dataTicket[]
Show child attributes
idstring<uuid>
public_ticket_idinteger

The ticket number shown in Cekat.

board_idstring<uuid>
ticket_template_idstring<uuid>
titlestring
descriptionstring | null
statusstring

A status ID from the board's statuses, or done.

priorityinteger

0 Low, 1 Medium, 2 High, 3 Urgent.

Available options: 0, 1, 2, 3
field_valuesTicketFieldValue[]
Show child attributes
field_namestring

The field's name from the ticket template.

field_valueany

The value. Its format depends on the field type.

assigned_tostring[]

Agent IDs assigned to the ticket.

attachmentsstring[]
conversation_idstring<uuid> | null
created_bystring | null
created_atstring<date-time>
updated_atstring<date-time>
metadataobject
Show child attributes

page, limit or sorts is invalid.

successboolean
messagestring
statusCodeinteger
errorobject
Show child attributes
messagestring
correlationIdstring

Request ID. Include it when contacting Cekat support.

The API key is missing or invalid.

successboolean
messagestring
statusCodeinteger
errorobject
Show child attributes
messagestring
correlationIdstring

Request ID. Include it when contacting Cekat support.

Rate limit exceeded. Wait and retry.

messagestring
POST/api/tickets/list
cURL
JavaScript
Python
PHP
curl --request POST \
  --url 'https://api.cekat.ai/api/tickets/list' \
  --header 'api_key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "search": "<string>",
  "filters": {
    "status": [
      "<string>"
    ],
    "priority": [
      1
    ],
    "assigned_to": [
      "<string>"
    ],
    "created_by": [
      "<string>"
    ],
    "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_start_date": "2026-01-15T09:30:00Z",
    "created_end_date": "2026-01-15T09:30:00Z"
  },
  "sorts": {
    "field": "created_at",
    "direction": "asc"
  },
  "page": 1,
  "limit": 100
}'
const response = await fetch('https://api.cekat.ai/api/tickets/list', {
  method: 'POST',
  headers: { 'api_key': 'YOUR_API_KEY', 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "search": "<string>",
    "filters": {
      "status": [
        "<string>"
      ],
      "priority": [
        1
      ],
      "assigned_to": [
        "<string>"
      ],
      "created_by": [
        "<string>"
      ],
      "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_start_date": "2026-01-15T09:30:00Z",
      "created_end_date": "2026-01-15T09:30:00Z"
    },
    "sorts": {
      "field": "created_at",
      "direction": "asc"
    },
    "page": 1,
    "limit": 100
  })
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.cekat.ai/api/tickets/list"
headers = {"api_key": "YOUR_API_KEY"}
payload = {
    "board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "search": "<string>",
    "filters": {
        "status": [
            "<string>"
        ],
        "priority": [
            1
        ],
        "assigned_to": [
            "<string>"
        ],
        "created_by": [
            "<string>"
        ],
        "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_start_date": "2026-01-15T09:30:00Z",
        "created_end_date": "2026-01-15T09:30:00Z"
    },
    "sorts": {
        "field": "created_at",
        "direction": "asc"
    },
    "page": 1,
    "limit": 100
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
<?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://api.cekat.ai/api/tickets/list',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => ['api_key: YOUR_API_KEY', 'Content-Type: application/json'],
  CURLOPT_POSTFIELDS => json_encode([
    'board_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
    'search' => '<string>',
    'filters' => [
      'status' => ['<string>'],
      'priority' => [1],
      'assigned_to' => ['<string>'],
      'created_by' => ['<string>'],
      'conversation_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
      'session_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
      'contact_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
      'company_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
      'created_start_date' => '2026-01-15T09:30:00Z',
      'created_end_date' => '2026-01-15T09:30:00Z'
    ],
    'sorts' => [
      'field' => 'created_at',
      'direction' => 'asc'
    ],
    'page' => 1,
    'limit' => 100
  ]),
]);

$response = curl_exec($curl);
curl_close($curl);
echo $response;
Response
200
400
401
429
{
  "message": "<string>",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "public_ticket_id": 1,
      "board_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ticket_template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "description": "<string>",
      "status": "<string>",
      "priority": 0,
      "field_values": [
        {
          "field_name": "example_name",
          "field_value": "<string>"
        }
      ],
      "assigned_to": [
        "<string>"
      ],
      "attachments": [
        "<string>"
      ],
      "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_by": "<string>",
      "created_at": "2026-01-15T09:30:00Z",
      "updated_at": "2026-01-15T09:30:00Z"
    }
  ],
  "metadata": {
    "pagination": {
      "page": 1,
      "limit": 1,
      "total_data": 1,
      "total_pages": 1
    }
  }
}
{
  "success": true,
  "message": "<string>",
  "statusCode": 1,
  "error": {
    "message": "<string>"
  },
  "correlationId": "<string>"
}
{
  "success": true,
  "message": "<string>",
  "statusCode": 1,
  "error": {
    "message": "<string>"
  },
  "correlationId": "<string>"
}
{
  "message": "<string>"
}