# List Pathways

Retrieves a list of pathways for the requesting practice group.

Endpoint: GET /v1/care-nav/pathways
Version: 1.0.0
Security: apiKeyAuth, practiceGroupId

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `practiceGroupId` (unknown)
    apiKey in header x-practice-group-id

## Query parameters:

  - `has_forms` (boolean)

## Response 200:

  - `200` (unknown)
    Ok

## Response 200 fields (application/json):

  - `data` (array, required)

  - `data.id` (string, required)

  - `data.title` (string, required)

  - `data.summary` (string, required)

  - `data.in_hours` (boolean, required)

  - `data.out_of_hours` (boolean, required)

  - `data.suspended` (boolean, required)

  - `data.order` (number, required)

  - `data.group_id` (string, required)

  - `data.patient_url` (string, required)
    A link patients can open to go straight here in the practice’s online care navigation. If this is later deleted, suspended, out of hours or at its daily limit, the link still opens and tells the patient why. While the practice has paused care navigation as a whole, it opens the practice's own paused message instead.

  - `data.available_now` (boolean, required)
    Whether a patient opening patient_url now could choose this, as the patient pages work it out.

  - `data.unavailable_reason` (string, required)
    Why patients cannot choose this now: service_suspended (the practice has paused care navigation), suspended (this pathway or option is suspended, or the pathway an option is in), no_options (a pathway with no option patients can choose: none, or every one offered now is suspended), not_listed (patients are not shown it, e.g. its form has no questions yet), in_hours_only (offered only while the practice is open, and it is closed), out_of_hours_only (offered only while it is closed, and it is open), daily_limit (it has taken as many requests as it can today).
    Enum: "service_suspended", "suspended", "no_options", "not_listed", "in_hours_only", "out_of_hours_only", "daily_limit"

  - `data.created_at` (string, required)

  - `data.updated_at` (string, required)

  - `count` (number, required)

## Response 400:

  - `400` (unknown)
    Validation error

## Response 400 fields (application/json):

  - `error` (boolean, required)
    Example: true

  - `statusCode` (number, required)
    Example: 400

  - `message` (array, required)

  - `message.code` (string, required)
    Example: invalid_type

  - `message.expected` (string, required)
    Example: string

  - `message.path` (array, required)
    Example: ["patient_id"]

  - `message.message` (string, required)
    Example: Required

## Response 401:

  - `401` (unknown)
    Unauthorised

## Response 404:

  - `404` (unknown)
    Not found

## Response 429:

  - `429` (unknown)
    Too Many Requests

## Response 500:

  - `500` (unknown)
    Unknown error

