API reference
Two endpoints and one webhook. Base URL https://api.callhuman.es/v1, authenticated with a Bearer API key.
| Endpoint | What it does |
|---|---|
POST /v1/calls | Create a call |
GET /v1/calls/{id} | Get a call and its result |
Webhook callResult | Sent to your webhook_url when the call ends |
Authentication: Authorization: Bearer ch_live_xxxxxxxxxxxx. Create keys in the dashboard under API keys.
Spec: download /openapi.json (OpenAPI 3.1) to generate clients or give it to your AI assistant.
Errors: every error is { "error": { "code", "message", "docs_url" } }. See Errors.
CallHuman vs Slack & email approvals
Approval tools send a message and hope someone reads it. A phone call gets attention now — and reaches people outside your team.
Call result Webhook
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`.