Skip to main content
PATCH
/
calls
/
{call_id}
curl --request PATCH \
  --url https://api.truedy.ai/api/public/v1/calls/{call_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "call_settings": {
    "recording_enabled": false,
    "greeting": "Updated greeting"
  }
}
'
{
  "data": {
    "id": "call_a1b2c3d4",
    "status": "completed",
    "direction": "outbound",
    "agent_id": "agt_f9447372",
    "to": "+12125551234",
    "from": "+18005559876",
    "duration_seconds": 142,
    "recording_url": "https://recordings.truedy.ai/call_a1b2c3d4.mp3",
    "transcript_url": "https://api.truedy.ai/calls/call_a1b2c3d4/transcript",
    "summary": "Customer inquired about refund policy. Issue resolved.",
    "cost_credits": 24,
    "metadata": {
      "campaign_id": "batch_c3d4e5f6",
      "priority": "high"
    },
    "started_at": "2026-04-05T10:00:00Z",
    "ended_at": "2026-04-05T10:02:22Z",
    "created_at": "2026-04-05T09:59:58Z",
    "updated_at": "2026-04-05T10:02:22Z"
  },
  "meta": {
    "request_id": "req_32e7531c",
    "ts": "2026-04-05T10:22:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header: Bearer <your_api_key>

Path Parameters

call_id
string
required

Call ID

Body

application/json
call_settings
object | null

Updated call settings

variables
object | null

Update custom variables

Example:
{ "status": "updated" }

Response

Call updated successfully

data
object
required
meta
object
required