---
title: "Upload a document from RDVM portal"
method: POST
path: "/public/rdvm/referrals/{referralId}/documents"
tags: ["RdvmPortal"]
---

# Upload a document from RDVM portal

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

## Path parameters

- `referralId` string, required

## Response `201`

Created

- 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

## 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/a905bde4e796/schema)
