> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# 3 · Scan & Share

> Let the patient scan a facility QR code to register instantly and receive a token number.

The patient walks up to a registration counter, scans the facility's **Health Facility QR code** in your PHR app, and their ABHA profile lands in the facility's HMIS — no form, no queue. The facility optionally returns a token number.

```mermaid theme={null}
sequenceDiagram
  participant P as PHR App
  participant E as EKA / ABDM
  participant H as Health Facility (HIP)
  P->>E: POST /abdm/v2/profile/share (scanned QR + location)
  E->>H: Patient profile shared
  H-->>E: Token number (optional)
  P->>E: GET /abdm/v2/profile/share/{request_id}
  E-->>P: HIP details, token, expiry
```

## APIs

| Step | API |
| - | - |
| Share the profile with the scanned facility | [`POST /abdm/v2/profile/share`](https://developer.eka.care/api-sdk/hie-cm/scan-and-share/phr-scan-share) |
| Poll for the facility's token number | [`GET /abdm/v2/profile/share/{request_id}`](https://developer.eka.care/api-sdk/hie-cm/scan-and-share/phr-scan-share-token) |

The share request is asynchronous: the first call returns a `request_id`, and the token comes back on the second call once the facility responds. The response carries HIP details, token expiry, and whether the token should be displayed to the patient.

[Scan & Share overview →](https://developer.eka.care/docs/hie-cm/scan-and-share/getting-started.md)

> [!NOTE]
>
> The **HIP side** of Scan & Share — receiving a scanned token at the facility counter — is a different integration. If your product also runs the facility's software, see [On-Share](https://developer.eka.care/api-sdk/hie-cm/scan-and-share/scan-on-share.md) and the [Scan and Share Token Received](https://developer.eka.care/docs/hie-cm/webhooks/hip-scan-and-share.md) webhook.

> **[M1 — ABHA Web SDK](https://developer.eka.care/api-sdk/hie-cm/sdks/web-sdk/abha-sdk/abha-s\&s)**
>
> Scan & Share is also available as a drop-in SDK component, including the QR scanner.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.