---
title: "Get documents for a referral
RDVM can see:
- Documents they uploaded
- Documents shared by the clinic (IsSent = true)
- All documents if they have canViewRecords permission"
method: GET
path: "/public/rdvm/referrals/{referralId}/documents"
tags: ["RdvmPortal"]
---

# Get documents for a referral
RDVM can see:
- Documents they uploaded
- Documents shared by the clinic (IsSent = true)
- All documents if they have canViewRecords permission

`GET /public/rdvm/referrals/{referralId}/documents`

## Path parameters

- `referralId` string, required

## Query parameters

- `sessionId` string
- `clinicId` string

## Response `200`

OK

- RdvmDocumentListResponse
  - `documents` RdvmDocumentDto[]
    - `id` string
    - `referralId` string
    - `documentType` string
    - `fileName` string
    - `description` string, nullable
    - `fileSizeBytes` union
      - integer
      - string, int64
    - `mimeType` string, nullable
    - `uploadedByName` string, nullable
    - `uploadedAt` string, date-time
    - `isSent` boolean
    - `sentAt` string, date-time, nullable
    - `source` string
    - `canDelete` boolean
  - `totalCount` union
    - integer
    - string, int32
  - `canExport` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/e7d381a5453b/schema)
