API Reference

Pathway Rules

Manage pathway rules via the Jump EHR API. Create conditional overrides that customise how events route into episodes.

Pathway rules provide conditional overrides on top of base pathway configs. Rules let you customise episode routing based on event properties — for example, routing VIP appointment bookings to a specific team, or silencing billing episodes for certain invoice types.

  • Override fields set to null inherit from the base pathway config. Only non-null fields take effect.
  • Each (trigger_type, priority) combination must be unique within your organisation. Attempting to create or update a rule with a duplicate priority returns 409 CONFLICT.
  • Gaps in the priority sequence after deletion are fine — rules are evaluated by priority order, not contiguous numbering.
GET/pathway-rulesScoperead_pathways

List pathway rules

Sorted by trigger_type then priority (evaluation order).

Query

limitinteger

Maximum number of records to return (1–100, default 20)

20
offsetinteger

Number of records to skip (default 0)

0
trigger_typestring
No description yet.
enabledstring
No description yet.

Responses

200

Paginated list

POST/pathway-rulesScopewrite_pathways

Create a pathway rule

Headers

Idempotency-Keyuuid

Optional UUID for request deduplication. Same key + same body returns the cached response. Same key + different body returns 409 CONFLICT. Keys are scoped to your organisation and endpoint, and expire after 24 hours.

Request body

trigger_typestringrequired
No description yet.
rule_namestringrequired
No description yet.
priorityintegerrequired
No description yet.
conditionsobject
No description yet.
creation_modestring
create_episodeattach_or_createattach_onlylog_only
inbox_visibilitystring
surfacesilent
journey_typestring
No description yet.
suggested_assignmentstring
No description yet.
suggested_prioritystring
lowmediumhighurgent
expected_next_actorstring
practicepatient
enabledboolean
No description yet.

Responses

201

Created

409

Priority conflict

422

Request body failed validation

GET/pathway-rules/{id}Scoperead_pathways

Retrieve a pathway rule

Path

iduuidrequired
No description yet.

Responses

200

Rule detail

404

Resource not found (or belongs to a different organisation)

PATCH/pathway-rules/{id}Scopewrite_pathways

Update a pathway rule

Path

iduuidrequired
No description yet.

Request body

rule_namestring
No description yet.
priorityinteger
No description yet.
conditionsobject
No description yet.
creation_modestring
No description yet.
inbox_visibilitystring
No description yet.
journey_typestring
No description yet.
suggested_assignmentstring
No description yet.
suggested_prioritystring
No description yet.
expected_next_actorstring
No description yet.
enabledboolean
No description yet.

Responses

200

Updated

404

Resource not found (or belongs to a different organisation)

409

Priority conflict

DELETE/pathway-rules/{id}Scopewrite_pathways

Delete a pathway rule

Path

iduuidrequired
No description yet.

Responses

200

Deleted

404

Resource not found (or belongs to a different organisation)

Was this page helpful?