Skip to main content
POST
Test routing

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.

Body

application/json
sample
object
required

An example conversation for the routing test.

Example:
assistant_id
string<uuid> | null

Test the set of this assistant; omit for the workspace set.

rules
object[]

Unsaved drafts. A draft with the ID of a saved rule replaces it; any other draft is added at the end.

Maximum array length: 50

Response

Result.

data
object
required