List all tickets

GET https://api.tamio.com/v2/agency/tickets/list

Returns a paginated list of support tickets. Supports filtering by status, date range, text search, teammate, and client.

Query Parameters

page integer*
per_page integer*
order string
ascdesc
sort_by string
created_attitle
filter string

Search tickets by title

from string

Start date filter (ISO 8601 or unix timestamp)

to string

End date filter (ISO 8601 or unix timestamp)

closed string

Filter by closed status

truefalse
teammate_id string

Filter by assigned teammate UUID

client_id string

Filter by client UUID

Responses

200 Tickets listed successfully

Tickets listed successfully

status integer
total_results integer
tickets array of Ticket
400 Validation or business-logic error. Possible `error_code` values:
401 Unauthorized – invalid or missing Bearer token
/agency/tickets/list
1const response = await fetch("https://api.tamio.com/v2/agency/tickets/list", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "total_results": 42,
  "tickets": []
}