POST
/
abdm
/
v1
/
hip
/
care-context
/
data
/
on-fetch
curl --request POST \
  --url https://api.eka.care/abdm/v1/hip/care-context/data/on-fetch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entries": [
    {
      "care_context_id": "<string>",
      "checksum": "<string>",
      "content": "<string>",
      "media": "application/fhir+json"
    }
  ],
  "key_information": {
    "crypto_alg": "<string>",
    "curve": "<string>",
    "dh_public_key": {
      "expiry": "<string>",
      "key_value": "<string>",
      "parameters": "<string>"
    },
    "nonce": "<string>"
  },
  "transaction_id": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-User-Id
string

Partner user ID

X-Hip-Id
string

Partner HIP ID

Body

application/json

Response

202

Accepted