---
title: "POST /pep/referrals"
method: POST
path: "/pep/referrals"
tags: ["Pep"]
---

# POST /pep/referrals

`POST /pep/referrals`

## Request

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

## Request body

- PepReferralRequest
  - `patientId` string, required
  - `appointmentId` string, nullable
  - `requestId` string, uuid
  - `previewHash` string, nullable
  - `consentConfirmed` boolean
  - `allowPossibleDuplicate` boolean
  - `includeDiagnosis` boolean
  - `phoneOverride` string, nullable
  - `clinicalNotes` string, nullable
  - `urgency` string, nullable
  - `preferredDate` string, date, nullable
  - `preferredTime` string, nullable

## Response `200`

OK

- PepReferralDto
  - `id` string, required
  - `patientId` string, required
  - `appointmentId` string, nullable, required
  - `status` string, required
  - `reference` string, nullable, required
  - `error` string, nullable, required
  - `fieldErrors` unknown, required
  - `createdAt` string, date-time, required
  - `consentConfirmedAt` string, date-time, required

## Changes

- **2026-10-28** `099cf36186e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/pep/referrals/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)
