Reports API

This article and the rest of the API documentation in this section are written for a technical audience — integrators and developers connecting external systems to Tickiti. Familiarity with HTTP, REST, JSON and bearer-token authentication is assumed.

The Reports API returns the same analytics the Reports screens render, as JSON — useful for feeding an external dashboard. It is read-only. Every endpoint runs as the token’s owner and is gated by the reports:read ability plus the owner’s admin role and the reports plan feature.

Conventions

All endpoints are POST and JSON. Each report takes a date window and optional scope:

  1. date_from, date_to — required (ISO dates).
  2. queue_id — optional; omit for all tracked queues.
  3. group_byday | week | month (volumes and response-times only).

Responses are chart-ready (labels + one or more value series). Use /meta to discover the queues you can filter by.

Endpoints

Method & pathAbilityPurpose
POST /api/v1/reports/metareports:readQueues available as report filters
POST /api/v1/reports/resolutionsreports:readClosed-ticket breakdown by resolution category
POST /api/v1/reports/volumesreports:readTickets created per period
POST /api/v1/reports/response-timesreports:readFirst-response and time-to-close (hours) per period
POST /api/v1/reports/agent-activityreports:readMaterial staff responses per agent