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.
Path parameters
priorityIdRequiredstringUnique identifier of the priority, prefixed with priority_. Returned when you create a priority or by the List priorities endpoint.
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.
Bearer
Body parameters
JSONnameoptionalstringis_defaultoptionalbooleanchannelsoptionalstring | object[]
channelsoptionalstring | object[]Array of string | object
string
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
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 \ -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 }}