Calls
Place outbound calls, end active ones, and retrieve call records with transcripts and recordings.
Wordcab SDKs, CLI tools, Helm charts, model weights, and deployment packages are delivered directly to each customer for self-hosted installation. They are not publicly published package-manager artifacts, so install commands in these docs are placeholders until your Wordcab team provides your private package source or offline bundle.
The call object
{
"id": "call_abc123",
"object": "call",
"agent_id": "agent_xyz789",
"direction": "outbound",
"phone_number": "+14155551234",
"caller_id": "+14155558888",
"status": "in_progress",
"started_at": 1712345678,
"ended_at": null,
"duration": null,
"transcript_id": null,
"recording_url": null,
"context": {"customer_name": "Jane"},
"metadata": {"campaign": "spring-reminders"}
}Create a call (outbound)
E.164 destination. +14155551234.
Variables injected into the system prompt.
Cap on call length in seconds. Default 1800 (30 minutes).
Save audio. Default false.
Override the caller id. Must be a number approved on the account.
Set via the Idempotency-Key header, not the body. See API overview.
Retrieve a call
End a call
Force-end an active call. No-op on completed calls.
Call status values
| Status | Meaning |
|---|---|
initiating | Object created, media leg starting. |
ringing | Far side is ringing. |
in_progress | Call answered; agent is running. |
completed | Call ended normally. |
failed | Technical failure. See call.error. |
no_answer | Rang through without answer. |