SautiDesk
SautiDesk API
Reports (Pro)

Start a report export

POST
/v1/desk/reports/export

Starts an export of a report over a date range, chosen with kind (default calls), and returns a job to follow. The filters direction, queue, agent, answered, missed, result, outcome and q narrow call exports. It has no row limit, so it suits long ranges.

Requires: desk.supervise scope, Supervisor licence, Pro plan.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Query Parameters

kind?string

The report to export. Defaults to calls.

from?string

Start of the range: a date or a time (RFC 3339).

to?string

End of the range: a date or a time (RFC 3339).

direction?string

inbound or outbound.

queue?string

Only this queue: its id, or none for calls that reached no queue.

agent?string

Only this person's calls: their id (a UUID), or none for calls nobody handled. Several ids can be separated by commas.

answered?boolean

true for calls that were answered, false for calls that were not.

missed?boolean

true for inbound calls nobody answered.

result?string

How the call ended: answered, abandoned, no_answer, busy, failed, menu_dropped, voicemail or transferred. Several values can be separated by commas.

outcome?string

Only calls wrapped up with this outcome, by name.

q?string

Digits of the customer's number to search for.

Response

Accepted

Example

{  "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37",  "kind": "billing",  "status": "open",  "range": {    "from": "2026-10-14T08:30:00Z",    "to": "2026-10-14T08:30:00Z",    "timezone": "Africa/Nairobi"  },  "rows_total": 1,  "rows_done": 1,  "url": "https://example.com/file",  "url_expires_at": "2026-10-14T08:30:00Z",  "error": "",  "created_at": "2026-10-14T08:30:00Z",  "expires_at": "2026-10-14T08:30:00Z"}
FieldTypeDescription
idrequiredstring (uuid)
kindrequiredstringWhat kind it is.
statusrequiredstringThe status to set.
rangerequiredobject
fromrequiredstring (date-time)The number or address to send from. It must belong to your workspace.
torequiredstring (date-time)Who to send to: a phone number in international format or, for email, an address.
timezonerequiredstring
rows_totalrequiredinteger | null
rows_donerequiredinteger
urlrequiredstring | null
url_expires_atrequiredstring (date-time) | null
errorstring
created_atrequiredstring (date-time)
expires_atrequiredstring (date-time)
curl -X POST "https://api.sautidesk.com/v1/desk/reports/export"