Delivery

Update a routing rule

Partial update; only provided keys are patched.

patch/v1/routing-rules/{id}

Request

  • Base URL: https://api.talonic.com
  • URL: https://api.talonic.com/v1/routing-rules/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Request body

namestring
conditionsobject
priorityinteger
is_activeboolean

Response

Routing rule updated.

idstring uuid required
namestring required
trigger_typestring required

Trigger kind. Always document_classified for rules created via this API.

conditionsobject

Mirror of the internal trigger_config.

action_typestring required

Resolved action kind. Defaults to route_to_schema when not specified on the request body.

actionsobject

Action payload. May include a type key that drives action_type.

priorityinteger required

Lower runs first. Default 100.

is_activeboolean required
review_requiredboolean nullable
source_connection_idstring uuid nullable
created_atstring date-time
updated_atstring date-time nullable

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 1 revision of this API.