# Pathway Configs

> Configure inbox pathways via the Jump EHR API. Control how clinical events create and route into episodes.

Source: https://docs.usejump.co.uk/api-reference/pathway-configs

Pathway configs control how clinical events (appointment bookings, lab results, questionnaire submissions, etc.) create or route into episodes. Each trigger type has one config per organisation.

  * Configs are created automatically for each trigger type — you cannot create or delete them. Use PATCH to modify settings. To disable a pathway, set `enabled: false`.
  * Certain trigger types have safety floors that prevent you from reducing the creation mode or hiding inbox visibility below a minimum threshold. This protects clinically significant events from being silenced.
## List pathway configs

`GET /pathway-configs`

API-key scope: `read_pathways`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | Maximum number of records to return (1–100, default 20) |
| `offset` | query | integer | no | Number of records to skip (default 0) |
| `trigger_type` | query | string | no |  |
| `enabled` | query | string | no |  |
| `journey_type` | query | string | no |  |
| `creation_mode` | query | string | no |  |

### Responses

- `200` Paginated list (sorted by trigger_type)

## Retrieve a pathway config

`GET /pathway-configs/{id}`

API-key scope: `read_pathways`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Responses

- `200` Config detail
- `404` Resource not found (or belongs to a different organisation)

## Update a pathway config

`PATCH /pathway-configs/{id}`

API-key scope: `write_pathways`

Safety floors are enforced — clinically significant trigger types cannot be weakened below their minimum creation_mode or inbox_visibility.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `enabled` | boolean | no |  |
| `creation_mode` | string | no | One of: `create_episode`, `attach_or_create`, `attach_only`, `log_only`. |
| `inbox_visibility` | string | no | One of: `surface`, `silent`. |
| `journey_type` | string | no |  |
| `expected_next_actor` | string | no | One of: `practice`, `patient`. |
| `conditions` | object | no |  |
| `event_message_template` | string | no |  |
| `event_title_template` | string | no |  |

### Responses

- `200` Updated
- `404` Resource not found (or belongs to a different organisation)
- `422` Request body failed validation
