Trillet AI logo

Get Call Disposition

Retrieve a specific call disposition by its ID.

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

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The unique identifier of the call disposition.

Response Fields

_idstring

Unique identifier for the disposition.

phoneNumberstring

Phone number associated with the disposition.

dispositionstring

Disposition type (e.g., "callback_scheduled", "no_answer", "completed").

statusstring

Current status of the disposition.

scheduledAtstring

Scheduled callback time (if applicable).

attemptnumber

Attempt number for this call.

agentIdstring

Agent ID that handled the call.

batchIdstring

Batch call ID (if part of a batch).

notesstring

Any notes from the call or disposition.

{
  "_id": "665a1b2c3d4e5f6a7b8c9d0e",
  "phoneNumber": "+14155551234",
  "disposition": "callback_scheduled",
  "status": "pending",
  "scheduledAt": "2024-06-02T14:00:00.000Z",
  "attempt": 1,
  "agentId": "665a1b2c3d4e5f6a7b8c9d0f",
  "batchId": "665a1b2c3d4e5f6a7b8c9d10",
  "notes": "Customer requested callback after 2pm",
  "createdAt": "2024-06-01T10:00:00.000Z"
}