Voice

Schedule Callback

Flag the call for a callback. The free-text `preferred_time` is read in the lead's time zone and, when telephony is configured, an AI callback call is queued for then (compliance re-checked when it runs); otherwise the lead gets a task note for a human (RO-134).

API key access

This route has its own authentication (or none); an API key is not used here.
POST/api/v1/calls/{call_id}/callbacks
AuthorizationBearer <token>

Per-call token issued when the call was created (job metadata api_token).

In: header

Path Parameters

call_idstring
Formatuuid

Header Parameters

X-Workspace-Id?string | null

Workspace of the call (must match the token).

lead_idstring
Formatuuid
preferred_time?string
Default""
Lengthlength <= 200
reason?string
Default""
Lengthlength <= 2000

Response Body

curl -X POST "http://localhost:8000/api/v1/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/callbacks" \  -H "X-Workspace-Id: string" \  -H "Content-Type: application/json" \  -d '{    "lead_id": "9bddab70-98e6-43a9-8f32-c9788b9de0c0"  }'
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}