# List Subscribers

Retrieves a list of subscribers for a practice group.
Filter by `subscription_id` to list every subscriber on one
subscription. Setting `patient_id` narrows the result to that
patient, so omit it to see a subscription's other members.

Endpoint: GET /v1/subscribers
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:

  - `patient_id` (string)

  - `page_index` (integer)

  - `page_size` (integer)

  - `order_by[]` (array)

  - `order_descending[]` (array)

  - `scheme_id` (string)

  - `scheme_name` (string)

  - `subscription_id` (string)
    The `subscription_id` returned by List Subscriptions, with or without its `M` prefix (`M100027` and `100027` are equivalent).

  - `status` (string)

## Response 200:

  - `200` (unknown)
    Ok

## Response 200 fields (application/json):

  - `data` (array, required)

  - `data.id` (string, required)

  - `data.patient` (object, required)

  - `data.patient.id` (string, required)

  - `data.patient.title` (string)
    Enum: "Baron", "Baroness", "Brigadier", "Count", "Colonel", "Countess", "Captain", "Dame", "The Dowager Viscountess", "Dr", "Duchess", "Duke", "Earl", "His Excellency", "Father", "H.E. Ambassador Mr", "H.E. Mr", "H.E. Mrs", "Her Grace", "His Grace", "The Hon", "The Hon Mr", "The Hon Mrs", "HRH", "HRH Prince", "HRH Princess", "Insurance", "HM King", "Lady", "Lord", "Major", "Master", "Miss", "Mr", "Mrs", "Ms", "Mss", "Mx", "Pr", "Professor", "HM Queen", "Rabbi", "Reverend", "Sheikh", "Sheikha", "Sir", "The", "", "Viscount", "Viscountess"

  - `data.patient.first_name` (string, required)

  - `data.patient.last_name` (string, required)

  - `data.subscription` (object, required)

  - `data.subscription.id` (string, required)

  - `data.subscription.subscription_id` (string, required)

  - `data.subscription.status` (string, required)
    Enum: "cancelled", "expired", "active", "not_started"

  - `data.subscription.expires_at` (string, required)

  - `data.scheme` (object, required)

  - `data.scheme.id` (string, required)

  - `data.scheme.name` (string, required)

  - `data.created_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

