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>"
}
}
]
}
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>"
}
}
]
}
The API requires a Bearer token (JWT) for authentication.
OK
The response is of type object
.
Was this page helpful?