---
title: "Create a SMART Health Link (QR) to my summary"
method: POST
path: "/me/patients/{patient_id}/shl"
tags: ["Patient (me)"]
---

# Create a SMART Health Link (QR) to my summary

`POST /me/patients/{patient_id}/shl`

## Request

- Base URL: `https://platform.anpheros.com`
- URL: `https://platform.anpheros.com/me/patients/{patient_id}/shl`
- Auth: HTTP bearer

## Path parameters

- `patient_id` string, required

## Query parameters

- `environment` 'sandbox' | 'production'

## Headers

- `authorization` string, nullable

## Request body

- ShlIn
  - `content` 'ips' | 'emergency' | 'custom'
  - `include` ShlInclude
    - `sections` string[]
    - `results_since` string, date, nullable
    - `observations` string[]
    - `documents` string[]
    - `imaging` boolean
  - `label` string, nullable
  - `lang` string, nullable
  - `passcode` string, nullable
  - `expires_in_days` integer, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `401`: Missing, invalid, expired or revoked credential (`WWW-Authenticate: Bearer`).
- `422`: Validation Error

## Changes

- **2026-10-19** `ff567b232dc3`: 2 info
  - added the new optional request property `include`
  - added the new `custom` enum value to the request property `content`

[Operation history](https://skmtc.dev/anpheros/apis/anpheros-platform/changes/me/patients/:patient_id/shl/post.md)

---

[API](https://skmtc.dev/anpheros/apis/anpheros-platform.md) · [All operations](https://skmtc.dev/anpheros/apis/anpheros-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/anpheros/apis/anpheros-platform/revisions/ff567b232dc3?raw)
