---
title: "GET /api/patient_messages"
method: GET
path: "/api/patient_messages"
tags: ["Clinical"]
---

# GET /api/patient_messages

`GET /api/patient_messages`

## Query parameters

- `cursor` string — The pagination cursor value.
- `page_size` integer — Number of results to return per page.
- `since` string
- `patient` integer
- `doctor` integer

## Response `200`

OK

- object — Paginated Result
  - `previous` string — Previous paginated page
  - `data` PatientMessage[] — result data
    - `body` string
    - `patient` integer, required
    - `attachments` object[]
      - `updated_at` string
      - `created_at` string
      - `attachment` string
      - `doctor` integer
    - `thread` integer, nullable — ID of the DoctorMessageThread containing this message (OnPatient message threading)
    - `doctor` integer, required
    - `created_at` string
    - `updated_at` string
    - `message` string
    - `id` integer
    - `subject` string, required
  - `next` string — Next Paginated page

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `500` — Internal Server Error

---

[API](https://skmtc.net/drchrono/apis/untitled-api.md) · [All operations](https://skmtc.net/drchrono/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drchrono/untitled-api/versions/e595797fe800/schema)
