Reports API
Reports endpoints exposed by the Devotel CPaaS API Base path:/api/v1/reports
Endpoint count: 7
Escalations grouped by reason code
GET /api/v1/reports/escalation-by-reasonList scheduled reports (deprecated)
GET /api/v1/reports/scheduledGET /api/v1/analytics/scheduled-reports. This legacy route is a thin adapter over the same public.scheduled_reports store, so it returns exactly the same data as the new surface and never diverges. New integrations should call the analytics route. List all scheduled report definitions for the organization, newest first, with cursor pagination.
Get a scheduled report (deprecated)
GET /api/v1/reports/scheduled/{id}GET /api/v1/analytics/scheduled-reports/{id}. This legacy route is a thin adapter over the same public.scheduled_reports store, so it returns the same definition the new surface shows. Retrieve a single scheduled report definition by id.
string
required
—
Generate an on-demand report
POST /api/v1/reports/generateCreate a scheduled report (deprecated)
POST /api/v1/reports/scheduledPOST /api/v1/analytics/scheduled-reports. This legacy route persists to the same public.scheduled_reports store the new surface writes to (single source of truth — it never diverges). Create a recurring report that generates on a cadence (daily/weekly/monthly) and emails the output (csv, pdf or xlsx) to its recipients. Requires owner, admin or developer role.
Update a scheduled report (deprecated)
PUT /api/v1/reports/scheduled/{id}PUT /api/v1/analytics/scheduled-reports/{id}. This legacy route persists to the same public.scheduled_reports store the new surface writes to. Partially update a scheduled report — omitted fields keep their current values. Requires owner, admin or developer role.
string
required
—
Delete a scheduled report (deprecated)
DELETE /api/v1/reports/scheduled/{id}DELETE /api/v1/analytics/scheduled-reports/{id}. Delete the definition so it stops running on its cadence. Returns 204 with no body on success; past emailed outputs are unaffected.
string
required
—