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. Turning a setting OFF is always allowed. Errors return a machine-readable code: settings_unsupported_for_channel_type (403, non-Blooio channel), 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), no_settings_provided (422, empty update), invalid_settings (422, unknown key or non-boolean value). A malformed channel selector or non-object body is 400.
Path parameters
channelRequiredstringThe 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
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.
Body parameters
JSONauto_mark_readoptionalbooleanBlooio: mark a chat read on the device as soon as a message arrives. Dedicated + inbound lines only.
Returns
dataoptionalChannelSettingsPer-channel settings envelope. settings and available shapes vary by channel type; the Blooio (P2P numbers) provider exposes auto_mark_read and auto_share_contact. available[key] is whether THIS channel may turn key on (type-gated).
dataoptionalChannelSettingsPer-channel settings envelope. settings and available shapes vary by channel type; the Blooio (P2P numbers) provider exposes auto_mark_read and auto_share_contact. available[key] is whether THIS channel may turn key on (type-gated).
channel_idoptionalstringChannel id (ch_...).
typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business"settingsoptionalobjectCurrent setting values for this channel (keys are per channel type).
availableoptionalobjectWhether this channel may turn each setting on (type-gated).
Response codes
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 }, "available": { "auto_mark_read": true, "auto_share_contact": true } }}