Place a call
/callsCall to from one of the organization's Blooio Voice numbers. The call starts ringing; when the callee answers, handler takes its audio and call.answered fires. With an agent handler, the Blooio agent that owns from talks to the callee. The callee sees from unless caller_id names another number to show; the call's caller_id says which number it showed and its attestation. The number's voice setting outbound.caller_id doesn't change this: it only pre-selects the dashboard softphone. 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.
Who takes the call's audio once it's answered. stream: Blooio opens a WebSocket to url and speaks the Blooio media stream protocol (base64 PCMU at 8 kHz both ways; see the Blooio Voice guide); a socket that closes or sends a frame the protocol doesn't define ends the call with handler_disconnected. agent: the Blooio agent that owns the call's number talks to the caller. softphone: the dashboard user making the request takes it in their browser (dashboard only).
Who takes the call's audio once it's answered. stream: Blooio opens a WebSocket to url and speaks the Blooio media stream protocol (base64 PCMU at 8 kHz both ways; see the Blooio Voice guide); a socket that closes or sends a frame the protocol doesn't define ends the call with handler_disconnected. agent: the Blooio agent that owns the call's number talks to the caller. softphone: the dashboard user making the request takes it in their browser (dashboard only).
ContactSummary
CallerIdShown
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 \{ "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" } }}