Place a callback call
voixcall_place_callUse this when the user has agreed to a quote from voixcall_quote_call (the price and the number that will ring): it reserves the maximum charge and rings the user's phone; they press 1 and the destination is dialled. Calling it again with the same quote id returns the same call rather than placing twice. Do not use for placing a call without a quote, for re-dialling after a failed call (quote again), or for calls from the app.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"quote_id": "<quote_id>"
},
"name": "voixcall_place_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote id (q_ prefix) returned by voixcall_quote_call. Single use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cost | Yes | The recorded charge, decimal string with two decimals; null unless status is completed. | |
| object | Yes | Always "call". | |
| origin | Yes | Which surface placed the call. | |
| spoken | Yes | One sentence to say to the user. | |
| status | Yes | initiating, connecting, active, completed, failed, no-answer, busy, canceled; callback calls add ringing_you and ringing_them. New values may appear. | |
| session | Yes | Callback calls only; null for app and inbound calls. | |
| currency | Yes | ||
| ended_at | Yes | ||
| livemode | Yes | ||
| direction | Yes | ||
| placement | Yes | How the call was set up: from the app or browser (webrtc), by ringing your phone first (callback), or received on your number (inbound). | |
| to_number | Yes | E.164. | |
| started_at | Yes | ||
| transcript | Yes | The call's summary-level transcript (redacted, no utterances) with expand[]=transcript, when the call has one; null otherwise. Needs transcripts:read and the account setting "Allow connected apps to read call summaries" (Settings → Connected apps), else expand[]=transcript answers 403. | |
| answered_at | Yes | Not recorded for app calls today: null. | |
| cost_so_far | Yes | Charge accrued so far, decimal string, only while status is active; null otherwise (including initiating and connecting). Counted from started_at, so it includes ring time until answered_at is recorded. | |
| from_number | Yes | E.164 caller ID used. | |
| is_recorded | Yes | ||
| rate_per_minute | Yes | The per-minute rate fixed at call setup and charged for this call, decimal string with four decimals. | |
| duration_seconds | Yes | Billable seconds once the call has ended. | |
| counterparty_name | Yes | Name of the contact whose stored phone number exactly matches the other party (to_number outbound, from_number inbound); a contact saved in another format, such as with spaces, does not match. Requires contacts:read, else null. | |
| transcript_status | Yes | null when no transcript was requested. | |
| max_duration_seconds | Yes | Time limit the balance allowed when the call was set up, while status is active. Derived from the balance, so it needs credits:read; null without it. Not recorded for app-placed personal calls today, so null for them. |