curl --request POST \
--url https://api.eka.care/abdm/v1/consents/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hiu": {
"clinic_id": "<string>",
"d_oid": "<string>"
},
"patient": {
"health_id": "<string>",
"oid": "<string>"
}
}
'{
"consents": [
{
"c_at": "2023-11-07T05:31:56Z",
"consent_id": "<string>",
"consent_init_id": "<string>",
"period": {
"expiry": "2023-11-07T05:31:56Z",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"status": "<string>",
"u_at": "2023-11-07T05:31:56Z"
}
]
}curl --request POST \
--url https://api.eka.care/abdm/v1/consents/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hiu": {
"clinic_id": "<string>",
"d_oid": "<string>"
},
"patient": {
"health_id": "<string>",
"oid": "<string>"
}
}
'{
"consents": [
{
"c_at": "2023-11-07T05:31:56Z",
"consent_id": "<string>",
"consent_init_id": "<string>",
"period": {
"expiry": "2023-11-07T05:31:56Z",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"status": "<string>",
"u_at": "2023-11-07T05:31:56Z"
}
]
}The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
No Content
Show child attributes
Was this page helpful?