Create a routing rule
Create a rule that fires on document_classified triggers. The actions.type key (when present) controls the action kind (route_to_schema by default).
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
Rule name. Required, non-empty.
Trigger condition payload; stored as trigger_config internally.
Action payload. If an actions.type key is provided it becomes the rule's action_type (default: route_to_schema).
Lower priority runs first. Defaults to 100 server-side.
Example request
{
"actions": {
"type": "route_to_schema"
}
}Response
Routing rule created (alias of 201).
Trigger kind. Always document_classified for rules created via this API.
Mirror of the internal trigger_config.
Resolved action kind. Defaults to route_to_schema when not specified on the request body.
Action payload. May include a type key that drives action_type.
Lower runs first. Default 100.
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"trigger_type": "document_classified",
"action_type": "route_to_schema",
"priority": 100,
"source_connection_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"created_at": "2026-04-25T14:30:00.000Z",
"updated_at": "2026-04-25T14:30:00.000Z"
}Changes
No recorded changes to this operation across all 32 revisions of this API.