Retrieve a paginated list of approved clinical outputs (letters) for the authenticated organisation. The response is an HL7 FHIR Bundle of Composition resources, each containing the letter content and an embedded PDF.Documentation Index
Fetch the complete documentation index at: https://docs.medwrite.ai/llms.txt
Use this file to discover all available pages before exploring further.
All endpoints require authentication. For credentials and access, contact the medWrite team.
Request
Headers
| Header | Type | Required | Description |
|---|---|---|---|
| Bearer Token | string | Yes | Authentication token. Contact medWrite team. |
| API Key | string | Yes | Service API key. Contact medWrite team. |
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Speciality ID | string | No | — | Filter outputs by speciality identifier. |
| Speciality Name | string | No | — | Filter outputs by speciality name. |
| Page Size | integer | No | 1 | Number of outputs per page. |
| Page Number | integer | No | 1 | Page number for pagination. |
| Sort Order | string | No | desc | Sort by creation date. asc or desc. |
Response
Status:200 OK
Error responses
| Status | Condition |
|---|---|
400 | Invalid sort order (must be asc or desc) |
400 | Speciality not found |
401 | Invalid or missing authentication |
Next steps
Mark Output Completed
Acknowledge a letter so it no longer appears in the unread feed.
Get Attachments
Retrieve attachments for an output.
