Skip to Content
CallHumanDocs
API reference

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.

Header Parameters

CallHuman-Signature*string

Lowercase hex HMAC-SHA256 of the raw body, using your project's webhook secret. No prefix, no timestamp.

Request Body

application/json
  1. body

A call and its result. The webhook body and GET /calls/{id} return exactly this object.

id*string

Call ID.

status*string

queued: 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).

Value in"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.

Response Body

Return any 2xx to acknowledge.

Example Requests
POST/callResult
Request Body
application/json
{  "id": "call_x9f2k",  "status": "answered",  "option_path": [    1  ],  "option_label": "Confirm",  "metadata": {    "booking_id": "bk_1042"  }}
Header Parameters
{  "CallHuman-Signature": "5f2b1c9e0d8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c"}