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.
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.
Array of PriorityChannel
When the number a contact's conversation is on gets banned: switch_number sends from another number in the pool (and keeps the contact there), error fails the send with 409 sticky_number_unavailable. Defaults to switch_number for API keys and error for integrations.
"switch_number""error"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 \{ "data": { "id": "obj_a1b2c3d4", "name": "Jane Doe", "is_default": true, "channels": [ { "channel_id": "ch_a1b2c3d4", "type": "blooio", "address": "123 Main St", "alias": "string", "priority": 1 } ], "settings": { "on_banned_sticky": "switch_number", "steps": {} }, "created_at": 0, "updated_at": 0 }}