---
title: "Create Psr"
method: POST
path: "/create_psr"
---

# Create Psr

`POST /create_psr`

## Request

- Base URL: `https://api.versemedical.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.versemedical.com/create_psr`
- Auth: none declared

The InsureCare API: Medline posts a supply request, we create the order.

The body is taken as a plain dict rather than a typed `CreatePSR` so that
validation stays in `create_psr_common`: Medline's published contract answers
a bad payload with the `CreatePSRResponse` envelope, which FastAPI's own 422
would replace, and the raw request is logged before validation runs. A dict
(not `Any`) because FastAPI hands the parameter raw bytes when the content
type isn't JSON, which the logging of the body can't serialize.

The api-key check is skipped in development so the endpoint can be exercised
locally without the shared secret.

## Headers

- `x-api-key` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/versemedical/apis/versemedical-api.md) - [All operations](https://skmtc.dev/versemedical/apis/versemedical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/versemedical/apis/versemedical-api/revisions/420c2032b2cf?raw)
