---
title: "Email patient record as PDF attachment"
method: POST
path: "/patients/{patientId}/export/email"
tags: ["PatientRecordExport"]
---

# Email patient record as PDF attachment

`POST /patients/{patientId}/export/email`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/patients/{patientId}/export/email`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/patients/:patientId/export/email/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `patientId` string, required

## Request body

- SendPatientRecordEmailRequest: Request body for emailing a patient record
  - `recipientEmail` string, nullable: Email address to send the report to. If not provided, uses the logged-in user's email.
  - `options` PatientRecordExportOptions: Options controlling which sections to include in the patient record export
    - `appointmentId` string, nullable: Optional appointment ID to filter export to a specific visit. When null, exports the full patient record across all appointments.
    - `order` integer
    - `includeMedicalHistory` boolean: Include medical history and warnings section
    - `includeSoapNotes` boolean: Include SOAP notes section
    - `includeMedications` boolean: Include medications section
    - `includeRdvmRecords` boolean: Include RDVM records/referrals
    - `includeTransactionHistory` boolean: Include transaction/payment history
    - `includeDischargeRecords` boolean: Include discharge records
    - `includeLabResults` boolean: Include lab results with original PDFs
    - `includeVaccinations` boolean: Include vaccination history
    - `includeReminders` boolean: Include reminders (full-record exports only)
    - `includeAnesthesiaRecords` boolean: Include the anesthesia record of each surgical visit (ITE-1332): the chart, a five-minute vitals table and the drug and event log. Only with the `AnesthesiaChart` flag on.

## Response `200`

OK

- EmailSendResult
  - `success` boolean
  - `message` string
  - `recipientEmail` string, nullable

## Changes

- **2026-10-28** `099cf36186e0`: 3 info
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/includeAnesthesiaRecords` (media type: application/json)
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/includeAnesthesiaRecords` (media type: text/json)
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/includeAnesthesiaRecords` (media type: application/*+json)
- **2026-10-21** `85ee96c0bb96`: 3 info
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/order` (media type: application/json)
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/order` (media type: text/json)
  - added the new optional request property `options/oneOf[#/components/schemas/PatientRecordExportOptions]/order` (media type: application/*+json)

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/patients/:patientId/export/email/post.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
