Trillet AI logo

Get Call Disposition

Retrieve one call disposition record by its ID.

GEThttps://api.trillet.ai/v1/api/call-dispositions/{id}

A call disposition record tracks one contact in a batch call with smart callbacks turned on: the outcome of each attempt, and when the next callback is due. A record is created after the contact's first call.

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The record's _id, from List Call Dispositions.

Response Fields

_idstring

The record ID.

phoneNumberstring

The contact's phone number.

agentIdstring

The agent making the calls.

batchIdstring

The batch the contact belongs to.

workspaceIdstring

The workspace the record belongs to.

statusstring
  • active: callbacks are still being placed.
  • inactive: no more callbacks. The contact reached a final outcome, used up maxAttempts, or a retry couldn't be placed.
  • cancelled: the queued callback was cancelled, by Delete Call Disposition or by stopping the batch.
  • completed: Delete Call Disposition was called after the last queued callback had already run.
currentAttemptnumber

How many attempts have been made. -1 means no further attempts will be made.

maxAttemptsnumber

The most attempts the contact will get, from the batch's smartCallbackConfig.

dispositionHistoryarray

One entry per call, oldest first.

timezonestring

The timezone callback times are worked out in: the agent's office-hours timezone, or UTC.

nextCallTimestring

The delay before the next callback, as "<milliseconds>,<readable>" (for example "7200000,0d 2h 0m 0s"), measured from currentTimeOfGivenTimezone. null or empty when no callback is due.

currentTimeOfGivenTimezonestring

The local time, in timezone, when the next callback was scheduled (yyyy-MM-ddTHH:mm:ss). null when no callback is due.

jobIdstring

The queued callback job, or null when none is queued.

logsarray

Internal log of queued callback jobs (jobId, outcome, createdAt).

OfficeHoursSettingsobject

The office hours that callbacks are kept within, copied from the agent when the record was created.

createdAtstring

When the record was created (ISO 8601).

updatedAtstring

When the record last changed (ISO 8601).

Errors

StatusBodyWhen
400{"error": "Workspace ID is required"}The x-workspace-id header is missing
404{"error": "Call disposition not found"}No record with that ID exists in this workspace
{
  "_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
}

Last updated on