Trillet AI logo

List Call Dispositions

List call disposition records, newest first, with filters.

GEThttps://api.trillet.ai/v1/api/call-dispositions

A call disposition record tracks one contact in a batch call with smart callbacks turned on. See Get Call Disposition for the record's fields.

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Query Parameters

All filters are optional and can be combined. Text filters ignore case.

pagenumberdefault: 1

Page number.

limitnumberdefault: 50

Records per page.

phoneNumberstring

Records whose phone number contains this text.

batchIdstring

Records whose batch ID contains this text.

agentIdstring

Records for this agent ID. A value that isn't a valid ID matches nothing.

statusstring

Records with this exact status: active, inactive, cancelled or completed.

attemptnumber

Records whose currentAttempt equals this number. -1 finds records with no further attempts.

dispositionstring

Records where any attempt had this outcome, written exactly as stored. Outcomes include No Answer, Voicemail, Dead Air, IVR, Partial Complete: Call Back, Completed Call, Not Interested, Not Eligible, Call Transfer: Success, Call Transfer: Failure, Abusive Customer, Remove Number, Can't Understand, Disconnected Number, Invalid Number, Declined, Number Not Reached, System Error and Unknown Error. Encode spaces and colons in the URL.

timezonestring

Records whose timezone contains this text, for example America/New_York or Sydney. This is a filter: times in the response are not converted.

searchstring

Records whose phone number or batch ID contains this text. A full agent ID also matches that agent's records.

Response Fields

dataobject

Errors

StatusBodyWhen
400{"error": "Workspace ID is required"}The x-workspace-id header is missing
curl "https://api.trillet.ai/v1/api/call-dispositions?status=active&disposition=No%20Answer&limit=20" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-workspace-id: YOUR_WORKSPACE_ID"
{
  "data": {
    "dispositions": [
      {
        "_id": "c5c5c5c5c5c5c5c5c5c5c5c5",
        "agentId": "a1a1a1a1a1a1a1a1a1a1a1a1",
        "batchId": "k3j9x0a1bq",
        "workspaceId": "aaaaaaaaaaaaaaaaaaaaaaaa",
        "phoneNumber": "+14155550123",
        "jobId": "41",
        "currentAttempt": 1,
        "maxAttempts": 3,
        "status": "active",
        "dispositionHistory": [
          {
            "outcome": "No Answer",
            "notes": "The call was not answered.",
            "callHistoryId": "d8d8d8d8d8d8d8d8d8d8d8d8",
            "createdAt": "2026-11-07T09:48:54.799Z",
            "updatedAt": "2026-11-07T09:48:54.799Z"
          }
        ],
        "timezone": "America/New_York",
        "nextCallTime": "86400000,1d 0h 0m 0s",
        "currentTimeOfGivenTimezone": "2026-11-07T04:48:55",
        "logs": [],
        "OfficeHoursSettings": {
          "enabled": false,
          "timezone": "America/New_York"
        },
        "createdAt": "2026-11-07T09:48:54.728Z",
        "updatedAt": "2026-11-07T09:48:55.807Z",
        "__v": 1
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 20,
    "totalPages": 1
  }
}

Last updated on