Prioritiesv4
Update a priority
PATCH
/priorities/{priorityId}Updates a priority's name, default flag, and/or channel set. When channels is supplied it replaces the priority's channels wholesale.
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.
Bearer
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"200Updated priority
401Your API key is missing or invalid. Pass it as a bearer token.
404No prioritie was found with the provided `priorityId`.
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.
curl -X PATCH https://api.blooio.com/v4/priorities/obj_a1b2c3d4 \{ "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 }}