Callsv4.1
Send DTMF
POST
/calls/{callId}/dtmfPlay keypad tones into a connected call, to navigate a phone menu for example. OAuth apps need calls:write.
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
ContactSummary
null
CallerIdShown
null
200The call
400`invalid_call_id`, `invalid_body`, or `invalid_field`.
401Your API key is missing or invalid. Pass it as a bearer token.
404`call_not_found`.
409`call_ended`, `call_not_connected`, or `call_not_in_progress`.
422`call_command_rejected`: the carrier refused the command.
502`upstream_unavailable`: the carrier network couldn't be reached. Retry with backoff.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4.1/calls/obj_a1b2c3d4/dtmf \{ "data": { "call_id": "obj_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "direction": "inbound", "from": "+15551234567", "to": "+15551234567", "contact_id": "ct_a1b2c3d4", "contact": { "contact_id": "ct_a1b2c3d4", "identifier": "+15551234567", "name": "Jane Doe" }, "status": "queued", "handler": { "type": "stream", "url": "https://example.com", "to": "+15551234567" }, "answered_by_user_id": "obj_a1b2c3d4", "hangup_cause": "string", "error": { "code": "string", "message": "Hello from Blooio!" }, "created_at": 0, "answered_at": 0, "ended_at": 0, "is_recorded": true, "caller_id": { "number": "+15551234567", "kind": "line", "attestation": "A" } }}