Tamio

List all ticket categories

GET https://api.tamio.com/v2/agency/ticket-categories/list

Returns a paginated list of ticket categories. Supports filtering by date range and sorting.

Query Parameters

page integer*

Page number for pagination

per_page integer*

Number of results per page

order string
ascdesc
sort_by string
created_attitle
from string

Start date filter (ISO 8601 or unix timestamp)

to string

End date filter (ISO 8601 or unix timestamp)

Responses

200 Ticket categories listed successfully

Ticket categories listed successfully

status integer
total_results integer
ticket_categories array of TicketCategory
id string
object string
title string
language string
teammate_id string

UUID of the auto-assigned teammate

auto_reply string
subcategories array of string
billing_plans array of string
created_at integer

Unix timestamp

400 Validation or business-logic error.
401 Unauthorized – invalid or missing Bearer token
/agency/ticket-categories/list
1const response = await fetch("https://api.tamio.com/v2/agency/ticket-categories/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": 5,
  "ticket_categories": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "object": "ticket_category",
      "title": "Billing Issues",
      "language": "en",
      "teammate_id": "770e8400-e29b-41d4-a716-446655440000",
      "auto_reply": "Thank you for contacting us.",
      "subcategories": [
        "Payment Failed",
        "Refund Request"
      ],
      "billing_plans": [
        "550e8400-e29b-41d4-a716-446655440001",
        "550e8400-e29b-41d4-a716-446655440002"
      ],
      "created_at": 1700000000
    }
  ]
}