POST /v1/calls. Here’s what you can pass in and how to think about each field.
Request fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
to | string | Yes | — | Phone number to call, E.164 format (e.g. +15551234567) |
prompt | string | No | "Hello from CallingBox." | What the AI should do on the call |
context | object | No | {} | Background info the AI can reference mid-conversation |
returns | object | No | {} | Schema for structured data extraction |
language | string | No | "en" | Language code |
from_number | string | No | org default | Caller ID, E.164 format |
webhook_url | string | No | — | Where to POST the result when the call finishes (details) |
The prompt field
Think of the prompt like a briefing for a human caller. What’s the goal? What tone? What should they find out?
The context field
Context is background info the AI has access to during the conversation. It doesn’t go into the prompt directly — the AI just knows it and can bring it up when relevant.
The language field
English (en) is fully supported. Spanish (es) is in beta.
Only US phone numbers are supported right now. International calling is on the roadmap.
Examples
Appointment confirmation
Lead qualification
Payment collection
Structured results
How the returns schema and extraction work.
Delivery
Polling vs webhooks for getting results.
Call object
Every field on the call response.