Skip to main content

Get tickets

Fetches a paginated list of tickets created in the past 30 days. By default, it returns the latest 50 tickets.

Query Parameters
botId string — REQUIRED

Unique identifier of the AI agent (bot)

Example: x1744276526472

jsonQuery string — REQUIRED

URL-encoded JSON object specifying pagination parameters.
Example decoded value: {"pageNumber":1}
Note: Only pageNumber is supported.

Responses
200

A list of tickets retrieved successfully.

Schema — OPTIONAL
tickets object[] — OPTIONAL
id string — OPTIONAL
status string — OPTIONAL
created_at date-time — OPTIONAL
pagination object — OPTIONAL
page integer — OPTIONAL
per_page integer — OPTIONAL
total_pages integer — OPTIONAL
total_tickets integer — OPTIONAL
400

Bad Request — invalid or missing parameters.

403

Forbidden — user not authorized to access the resource.

500

Internal Server Error — something went wrong on the server.