Skip to main content
PATCH
Update a routing rule

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Path Parameters

id
string<uuid>
required

Routing rule ID.

Body

application/json

Fields to change. Omitted fields stay as they are. A rule never moves between sets.

name
string
Required string length: 1 - 60
enabled
boolean
match
enum<string>

all: every condition must hold. any: one is enough.

Available options:
all,
any
conditions
object[]
Required array length: 1 - 20 elements
group_id
string<uuid>

Workspace group the conversation goes to (listWorkspaceGroups).

category_id
string<uuid> | null

Inbox category to add; it must belong to the category set of the rule (listHistoryCategories).

priority
enum<string> | null

Priority to set. Routing only raises a priority.

Available options:
low,
normal,
high,
urgent

Response

The updated rule.

data
object
required