Skip to main content
PUT
Update a queue routing

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required
routing
string<uuid>
required

Body

application/json

Send name only to rename, or include rules to replace the complete ordered rule list.

Queue-wide ordered IF -> THEN routing rules. Rules are evaluated top-down; the first matching rule transfers the conversation to the selected AI agent. Each rule must point to one of this queue's channel assignment uuids. wait requires seconds; keyword requires keyword; contact requires field/operator/value. unanswered, busy, and offhours need no extra client-supplied fields. The only supported THEN action is transfer_to_ai_agent, represented in requests by then.ai_agent.

uuid
string<uuid>
name
string
Example:

"Long wait to AI"

color
enum<string>
Available options:
q-support,
q-sales,
q-returns,
q-technical
is_active
boolean
sla_seconds
integer | null

Queue-level default SLA

channels
object[]
members
object[]

Human agents of the queue

routings
object[]
created_at
string<date-time>
updated_at
string<date-time>
rules
object[]

Response

200

Routing updated