Trillet AI logo

Update Call Disposition

Update a call disposition, such as rescheduling a callback.

PUThttps://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 to update.

Request Body

scheduledAtstring

New scheduled callback time in ISO format.

statusstring

Updated status for the disposition.

notesstring

Updated notes for the disposition.

Response Fields

successboolean

Whether the update was successful.

dispositionobject

The updated disposition object.

{
  "success": true,
  "disposition": {
    "_id": "665a1b2c3d4e5f6a7b8c9d0e",
    "phoneNumber": "+14155551234",
    "disposition": "callback_scheduled",
    "status": "pending",
    "scheduledAt": "2024-06-03T10:00:00.000Z",
    "attempt": 1
  }
}