---
title: "POST /abdm/v1/care-contexts/discover"
method: POST
path: "/abdm/v1/care-contexts/discover"
---

# POST /abdm/v1/care-contexts/discover

`POST /abdm/v1/care-contexts/discover`

ABDM allows a user to find their health records from any health facility they have visited via the discovery process. 

Discover API returns any unlinked care-context for the ABHA User.

## Query parameters

- `oid` string — OID is used to Identify the user.

## Headers

- `X-Pt-Id` string
- `X-Partner-Pt-Id` string
- `X-Hip-Id` string

## Request body

- DiscoverRequest
  - `hip_id` string, required — Unique identifier for the Health Information Provider (HIP).
  - `ref_id` string — The unique identifier for the patient within the Healthcare Information Provider (HIP), such as the patient's registration ID, email address, or phone number used at the hospital or lab.

## Response `200`

OK

- DiscoverResponse
  - `patient` DiscoverPatient[]
    - `care_contexts` DiscoverCareContext[]
      - `display` string
      - `id` string
    - `display` string
    - `id` string
  - `txn_id` string — Transaction ID required for the next API call.

## Other responses

- `4XX`
- `5XX`

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/versions/9ea23456f722/schema)
