Calls
Calls on the organization's Blooio Voice numbers. Every call has a handler that takes its audio once it's answered: `stream` (your WebSocket server, speaking the Blooio media stream protocol), `agent` (the Blooio agent that owns the number), or `softphone` (a teammate in the dashboard). Inbound calls go to the handler set in the number's voice settings (`PATCH /channels/{channel}/settings` with `inbound`); with `softphone`, the call rings the dashboard and you can also answer it yourself with `POST /calls/{call_id}/answer` after the `call.ringing` webhook, whichever answers first. A call lasts at most 4 hours. Call status changes arrive as `call.ringing`, `call.answered`, and `call.ended` webhooks. When an organization admin turns on call recording in the dashboard settings, every call is recorded from answer, and `call.recording.ready` fires once its recording is saved. OAuth apps need `calls:read` to read and `calls:write` to place and control calls.