Create a priority
/prioritiesCreates a channel priority. Channels sharing a priority (and type) form a pool; ascending priority is the send-time waterfall. The first priority created for a key becomes its default unless is_default: false is set.
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
JSONnameoptionalstringis_defaultoptionalbooleanMake this the key's default priority. Defaults to true for the key's first priority.
channelsRequiredstring | object[]Channels in the priority. Each item is a channel id string or { channel_id, priority }. Channels sharing a priority must be the same type.
channelsRequiredstring | object[]Channels in the priority. Each item is a channel id string or { channel_id, priority }. Channels sharing a priority must be the same type.
Array of string | object
object
channel_idRequiredstringpriorityoptionalintegerReturns
dataoptionalPriority
dataoptionalPriorityidoptionalstringPriority id (priority_...).
nameoptionalstring | nullis_defaultoptionalbooleanWhether this is the key's default priority (used by the agnostic send).
channelsoptionalPriorityChannel[]
channelsoptionalPriorityChannel[]Array of PriorityChannel
channel_idRequiredstringChannel id (ch_...).
typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business"priorityRequiredintegerTier (drag order). Lower runs first; same priority + same type = a pool.
created_atoptionalintegerupdated_atoptionalintegerResponse codes
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/priorities \ -H "Authorization: Bearer bl_live_..." \ -H "Content-Type: application/json" \ -d '{ "name": "Jane Doe", "is_default": true, "channels": [ "string" ] }'{ "data": { "id": "obj_a1b2c3d4", "name": "Jane Doe", "is_default": true, "channels": [ { "channel_id": "ch_a1b2c3d4", "type": "blooio", "priority": 1 } ], "created_at": 0, "updated_at": 0 }}