> ## Documentation Index
> Fetch the complete documentation index at: https://trilletai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Call Disposition

> Update a call disposition, such as rescheduling a callback.

## Headers

<ParamField header="x-api-key" type="string" required>
  API key used for authenticating requests to the API.
</ParamField>

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the call disposition to update.
</ParamField>

## Request Body

<ParamField body="scheduledAt" type="string">
  New scheduled callback time in ISO format.
</ParamField>

<ParamField body="status" type="string">
  Updated status for the disposition.
</ParamField>

<ParamField body="notes" type="string">
  Updated notes for the disposition.
</ParamField>

## Response Fields

<ResponseField name="success" type="boolean">
  Whether the update was successful.
</ResponseField>

<ResponseField name="disposition" type="object">
  The updated disposition object.
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "disposition": {
      "_id": "665a1b2c3d4e5f6a7b8c9d0e",
      "phoneNumber": "+14155551234",
      "disposition": "callback_scheduled",
      "status": "pending",
      "scheduledAt": "2024-06-03T10:00:00.000Z",
      "attempt": 1
    }
  }
  ```
</ResponseExample>
