Channelsv4

Update channel settings

PATCH/channels/{channel}/settings

Partial 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.

Path parameters

channelRequiredstring

The channel reference — the same three forms from accepts: a phone number (URL-encode + as %2B), a channel alias, or the exact channel id (ch_...).

Headers

AuthorizationRequiredstring

Your 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

Body parameters

JSON
auto_mark_readoptionalboolean

Blooio: mark a chat read on the device as soon as a message arrives. Dedicated + inbound lines only.

auto_share_contactoptionalboolean

Blooio: share the number's Name & Photo card with people who message it. Dedicated lines only, and the line must have a contact card set up.

imessage_onlyoptionalboolean

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.

inboundoptionalVoiceInboundSettings

Who answers a Blooio Voice number's inbound calls.

handleroptionalstring

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"
ring_timeout_secondsoptionalinteger

How long a call rings before it ends missed. Also how long a call a Blooio agent hands off waits for a teammate before the agent takes it back.

outboundoptionalVoiceOutboundSettings

The caller ID the dashboard softphone pre-selects for calls from a Blooio Voice number. It doesn't change POST /calls, which shows from unless the request sets caller_id.

caller_idRequiredstring | null

Another of the organization's Blooio Voice numbers or one of its verified caller IDs, in E.164 format; null for the number itself. Required when sending outbound. Removing a verified caller ID resets numbers that named it to null.

openeroptionalAmbOpener | WhatsAppOpener

Apple Messages for Business or WhatsApp Business: a partial update of the channel's opener, merged into the saved one. Turning it on validates the template.

enabledoptionalboolean
template_idoptionalstring | null
parametersoptionalobject | null

Template parameters. An image parameter such as brandLogo may be an https URL; it is inlined when the invitation is sent.

localeoptionalstring | null

Returns

dataoptionalChannelSettings

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).

channel_idoptionalstring

Channel id (ch_...).

typeoptionalstring
"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb""sms""voice"
settingsoptionalobject

Current setting values for this channel (keys are per channel type).

availableoptionalobject

Whether this channel may turn each setting on (type-gated).

Response codes

200Updated channel settings
400The request was malformed — check the path, query parameters, and body.
401Your API key is missing or invalid. Pass it as a bearer token.
403Your API key isn't allowed to access this channel (blocked key or plan limit).
404No channel was found with the provided `channel`.
409`agent_unavailable`: the `agent` handler was set on a number no live Blooio agent owns.
422Validation failed — one or more fields in the request are invalid or missing.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X PATCH https://api.blooio.com/v4/channels/string/settings \
Body object
Response objectexample
{  "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    }  }}