Skip to Content
CallHumanDocs
API reference

Get a call

GET
/calls/{id}

Returns the current state and result of a call — the same object the webhook sends.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, for example Authorization: Bearer ch_live_xxxxxxxxxxxx. Create keys in your dashboard under API keys.

Path Parameters

id*string

Call ID returned when you created the call.

Response Body

The call.

application/json
  1. response

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.

Example Request
curl -X GET 'https://api.callhuman.es/v1/calls/call_x9f2k'
Example Response
{  "id": "call_x9f2k",  "status": "answered",  "option_path": [    1  ],  "option_label": "Confirm",  "metadata": {    "booking_id": "bk_1042"  }}