Export Call Dispositions CSV
Download call disposition records as a CSV file.
Headers
x-workspace-idstringrequiredWorkspace identifier for the API.
Query Parameters
Without filters, the export contains every record in the workspace, newest first. This endpoint accepts fewer filters than List Call Dispositions: only the four below are applied.
agentIdstringOnly records for this agent ID.
dispositionstringOnly records where any attempt had this outcome, written exactly as stored, for example No Answer or Partial Complete: Call Back.
dateRangestringOnly records created in this range. A JSON object with startDate and endDate (ISO 8601), URL-encoded, for example {"startDate":"2026-11-01T00:00:00Z","endDate":"2026-11-30T23:59:59Z"}.
searchstringOnly records whose phone number or call notes contain this text (case-insensitive).
Response
A CSV file (UTF-8 with a byte-order mark), with Content-Type: text/csv and Content-Disposition: attachment; filename=call_dispositions_<date>.csv. With no matching records, the file has only the header row.
| Column | Contents |
|---|---|
| Phone Number | The contact's phone number |
| Agent ID | The agent making the calls |
| Current Attempt | currentAttempt (-1 when no further attempts will be made) |
| Max Attempts | maxAttempts |
| Status | active, inactive, cancelled or completed |
| Created At | When the record was created (ISO 8601) |
| Updated At | When the record last changed (ISO 8601) |
| Timezone | The record's timezone |
| Current Time Of Given Timezone | Local time when the next callback was scheduled |
| Latest Disposition | Outcome of the most recent attempt |
| Latest Notes | Notes from the most recent attempt |
| All Dispositions | Every attempt, separated by |, each as <outcome> (<notes>) [call <callHistoryId>] @<time> |
curl "https://api.trillet.ai/v1/api/call-dispositions/export-csv?disposition=No%20Answer" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-workspace-id: YOUR_WORKSPACE_ID" \
--output call_dispositions.csvLast updated on