Update channel settings
/channels/{channel}/settingsPartial update of a channel's settings (send only the keys you want to change). Keys are per channel type. Blooio (P2P numbers): auto_mark_read is available on dedicated and inbound lines; auto_share_contact is dedicated-only AND the line must have a contact card (name or photo) set up; imessage_only is available on every line. Apple Messages for Business and WhatsApp Business: opener, a partial update of the channel's opener (send only the fields you want to change). Blooio Voice: inbound, with handler (softphone or agent) and ring_timeout_seconds (5 to 120); agent needs a live Blooio agent that owns the number; and outbound, with caller_id, the caller ID the dashboard softphone pre-selects (another of the organization's Blooio Voice numbers, a verified caller ID, or null for the number itself). outbound doesn't change POST /calls, which shows from unless the request sets caller_id. Turning a setting OFF is always allowed. Errors return a machine-readable code: settings_unsupported_for_channel_type (403, a channel type without settings), caller_id_not_verified (400, an outbound.caller_id that is neither one of the organization's Blooio Voice numbers nor a verified caller ID), auto_mark_read_not_allowed / auto_share_contact_not_allowed (403, line type can't enable it), contact_card_not_set_up (403, enable auto_share_contact with no contact card), agent_unavailable (409, the agent handler on a number no live Blooio agent owns), no_settings_provided (422, empty update), invalid_settings (422, unknown key or field, a value of the wrong type, or an opener turned on without its template), invalid_invitation (422, an AMB opener template missing a required parameter), template_not_approved (422, a WhatsApp opener template that isn't approved on this channel). A malformed channel selector or non-object body is 400.
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.
Blooio: a routed send (POST /messages without from) starts a conversation on this line only with a contact on iMessage, checked on the line's device; a contact who isn't, or a device that can't answer, moves the send to the next channel in the priority. Conversations the line already has are unaffected. Off by default, when the device sends SMS to a contact without iMessage.
Every inbound call sends the call.ringing webhook. softphone also rings the organization's dashboards; a teammate there or your code with POST /calls/{call_id}/answer can answer, and the first to answer takes the call. agent has the Blooio agent that owns the number answer; calls with a withheld caller ID are refused.
"softphone""agent"Per-channel settings envelope. settings and available shapes vary by channel type: Blooio (P2P numbers) exposes auto_mark_read, auto_share_contact, and imessage_only; Apple Messages for Business and WhatsApp Business expose opener (AmbOpener, WhatsAppOpener); Blooio Voice (voice) exposes inbound (VoiceInboundSettings) and outbound (VoiceOutboundSettings). available[key] is whether THIS channel may turn key on (type-gated).
Per-channel settings envelope. settings and available shapes vary by channel type: Blooio (P2P numbers) exposes auto_mark_read, auto_share_contact, and imessage_only; Apple Messages for Business and WhatsApp Business expose opener (AmbOpener, WhatsAppOpener); Blooio Voice (voice) exposes inbound (VoiceInboundSettings) and outbound (VoiceOutboundSettings). available[key] is whether THIS channel may turn key on (type-gated).
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X PATCH https://api.blooio.com/v4/channels/string/settings \{ "data": { "channel_id": "ch_a1b2c3d4", "type": "blooio", "settings": { "auto_mark_read": false, "auto_share_contact": false, "imessage_only": false }, "available": { "auto_mark_read": true, "auto_share_contact": true, "imessage_only": true } }}