List all tickets

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

Returns a paginated list of support tickets with filtering options including ticket status (open/closed), domain, assigned teammate, customer, text search, and date ranges.

Query Parameters

page integer*
per_page integer*
order string
ascdesc
sort_by string
created_attitle
closed boolean

Filter by status — true for closed tickets, false for open tickets, omit for all

domain_id string

Filter tickets by domain UUID

teammate_id string

Filter tickets assigned to a specific teammate UUID

customer_id string

Filter tickets created by a specific customer UUID

filter string

Text search against ticket titles, descriptions, or conversation content

from string

Start date filter (ISO format or Unix timestamp)

to string

End date filter (ISO format or Unix timestamp)

Responses

200 Tickets retrieved successfully

Tickets retrieved successfully

status integer
total_results integer

Total number of tickets matching the query

tickets array of Ticket
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/tickets/list
1const response = await fetch("https://api.tamio.com/v2/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": 24,
  "tickets": []
}