# CallHuman

> CallHuman is an API that phones a person, reads your message and returns the option they choose — by keypress or by voice. One request, a flat monthly price, only answered calls count, and every customer calls from their own phone number.

Base URL: https://api.callhuman.es/v1 — auth: `Authorization: Bearer <API key>`.
Full docs in one file: https://www.callhuman.es/llms-full.txt — OpenAPI 3.1: https://www.callhuman.es/openapi.json

Minimal call that asks a question (the answer is POSTed to webhook_url):

```bash
curl https://api.callhuman.es/v1/calls \
  -H "Authorization: Bearer $CALLHUMAN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to": "+34600111222", "message": "Your order ships tomorrow. Do you confirm it?",
       "options": [{"label": "Yes", "reply": "Thanks!"}, {"label": "No"}],
       "webhook_url": "https://example.com/hooks/callhuman"}'
```

Webhook body: {"id": "call_x9f2k", "status": "answered", "option_path": [1], "option_label": "Yes", "metadata": {}}

## Docs

- **Get started**
- [Introduction](/docs.md): CallHuman phones a person, reads your message and sends you back the option they choose — by keypress or by voice.
- [Quickstart](/docs/quickstart.md): Make your first call to your own phone in 5 minutes, then receive the answer.
- [Integrate with an AI assistant](/docs/ai-assistants.md): Let ChatGPT, Claude, Cursor or Copilot write your CallHuman integration from our machine-readable docs.

- **Guides**
- [Options, replies & submenus](/docs/options.md): Offer choices by keypress or voice, say something back after each one, and group many options into submenus.
- [One-way messages (voice OTP)](/docs/one-way-messages.md): Read a verification code, an alert or a notice out loud with just two fields — no options, no webhook.
- [Webhooks](/docs/webhooks.md): Receive the result of every call at your server, signed with HMAC-SHA256, and verify it in a few lines.
- [Errors](/docs/errors.md): Every error code, what it means and how to fix it.
- [Limits & billing](/docs/limits-and-billing.md): Plans, what counts as a call, billing cycles, plan changes, failed payments and every limit of the API.
- [Phone numbers](/docs/phone-numbers.md): Every project calls from its own phone number. What it is, how you get it and what people hear when they call it back.

- **Integrations**
- [n8n guide](/docs/n8n.md): Call a person from an n8n workflow and continue down a different branch for each answer. No code, no webhooks to set up.
- [MCP guide (coming soon)](/docs/mcp.md): Let an AI agent call a person, ask for approval and wait for the answer — through the Model Context Protocol.

- **Examples**
- Recipes
  - [Confirm bookings by phone](/docs/recipes/booking-confirmation.md): Call guests the same day, let them confirm or cancel in their own words, and free the table automatically.
  - [Send verification codes by voice](/docs/recipes/voice-otp.md): Read a one-time code out loud with a single request — for users without SMS, landlines or as a fallback.
  - [Human approval for AI agents](/docs/recipes/agent-approval.md): Pause an AI agent before a risky action, call a person to approve or reject, and continue with the answer.
  - [On-call alerts with acknowledgement](/docs/recipes/on-call-alerts.md): Wake up the right person when production breaks, and escalate to the next one if they can't take it.
  - [Confirm cash-on-delivery orders](/docs/recipes/cash-on-delivery.md): Call customers before shipping COD orders, confirm or cancel, and offer changes in a submenu.
- Comparisons
  - [CallHuman vs Twilio](/docs/comparisons/twilio.md): When to build phone calls yourself on Twilio (or another CPaaS) and when one CallHuman request is enough.
  - [CallHuman vs AI voice agents](/docs/comparisons/voice-ai-agents.md): Vapi, Retell, Bland and similar hold open conversations. CallHuman returns one of your options, predictably and at a flat price.
  - [CallHuman vs Slack & email approvals](/docs/comparisons/slack-email-approvals.md): Approval tools send a message and hope someone reads it. A phone call gets attention now — and reaches people outside your team.

- **Reference**
- API reference
  - [API reference](/docs/api-reference.md): Two endpoints and one webhook. Base URL https://api.callhuman.es/v1, authenticated with a Bearer API key.
  - [Call result](/docs/api-reference/callResult.md): Sent to your `webhook_url` as `POST` with `Content-Type: application/json` when the call reaches a final status (`answered`, `not_answered` or `failed`). Verify it: compute HMAC-SHA256 of the raw request body with your project's webhook secret (dashboard → Settings), encode it as lowercase hex (no prefix) and compare it in constant time with the `CallHuman-Signature` header. Respond with a 2xx within 10 seconds; otherwise we retry up to 5 times (after 1, 5, 15, 30 and 60 minutes), so the same result may arrive more than once — deduplicate by `id`.
  - [Create a call](/docs/api-reference/createCall.md): Calls the person and reads the message. With `options`, the person answers by keypress or voice and you get the chosen option back. Only transactional calls are allowed: before calling we check what the person will hear and reject marketing, sales, scams and unsolicited messages (`call_not_allowed`). Validation order: 401 → 402 → 403 → 429 → 422.
  - [Get a call](/docs/api-reference/getCall.md): Returns the current state and result of a call — the same object the webhook sends.
- [Changelog](/docs/changelog.md): Changes to the CallHuman API, docs and product, newest first.