Update a routing rule

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

rule_idstringRequired

Request

This endpoint expects an object.
priorityintegerOptional
match_typeenumOptional
Allowed values:
match_valuestringOptional
target_agent_idstringOptional

Response

Routing rule updated
idstring
Routing rule ID
workspace_idstring
number_idstring
Phone number this rule applies to
priorityintegerDefaults to 0

Rule evaluation order (lowest number = highest priority)

match_typeenum
How to match the caller's first utterance. 'default' matches all unmatched calls.
match_valuestring

Keyword or regex pattern to match against. Null for ‘default’ match_type.

target_agent_idstring
Agent to route matching calls to
created_atdatetime

Errors

404
Update Routing Rule Request Not Found Error