Call result
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.
CallHuman-Signature*stringLowercase hex HMAC-SHA256 of the raw body, using your project's webhook secret. No prefix, no timestamp.
application/json- body
A call and its result. The webhook body and GET /calls/{id} return exactly this object.
id*stringCall ID.
status*stringqueued: waiting or between retries. in_progress: ringing or on the call. answered: the person picked up (counts towards your plan). not_answered: no answer, busy or voicemail after all retries (free). failed: invalid number or technical error (free).
"queued""in_progress""answered""not_answered""failed"option_path*array<>Keys leading to the chosen option: [2] is option 2 of the main menu; [3, 1] is option 1 of the submenu under option 3. Empty if nothing was chosen.
option_label*|Label of the chosen option, or null if nothing was chosen.
metadata*The metadata you sent, unchanged.
Return any 2xx to acknowledge.
{ "id": "call_x9f2k", "status": "answered", "option_path": [ 1 ], "option_label": "Confirm", "metadata": { "booking_id": "bk_1042" }}{ "CallHuman-Signature": "5f2b1c9e0d8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c"}API reference
Two endpoints and one webhook. Base URL https://api.callhuman.es/v1, authenticated with a Bearer API key.
Create a call POST
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`). See https://www.callhuman.es/docs/allowed-use. Validation order: 401 → 402 → 403 → 429 → 422.