POST
/
abdm
/
v1
/
consents
/
details
curl --request POST \
  --url https://api.eka.care/abdm/v1/consents/details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "consent_id": "<string>",
  "health_id": "<string>"
}'
{
  "data": [
    {
      "care_contexts": [
        {
          "created_at": "<string>",
          "display": "<string>",
          "documents": [
            {
              "fhir_url": "<string>",
              "id": "<string>"
            }
          ],
          "id": "<string>",
          "status": "<string>"
        }
      ],
      "hip": {
        "id": "<string>",
        "name": "<string>"
      }
    }
  ]
}

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

200
application/json

OK

The response is of type object.