Connect
- Webhooks
HealthAI
- Assessment
- EkaScribe
General Tools
- Medical Document Parsing
Doctor Tool
- Actors
- Instructions
- Patient Registration API
- Doctor and clinic API
- Appointment API
- Payments API
- Prescription API
- Notify
- Webhooks
ABDM Connect
- Create and Login
- User Session
- Patient Requests
- Consents
- Overview
- HIU
- PHR
- Auto Approval
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Knowledge-bases
- Overview
- Protocols
- Medications
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
HIU
Consent list
POST
/
abdm
/
v1
/
consents
/
list
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": "afsdfj786fges87f68g8",
"d_oid": "162835406498984"
},
"patient": {
"health_id": "bobthebuilder@abdm",
"oid": "162835406498984"
}
}'
{
"consents": [
{
"c_at": "2023-11-07T05:31:56Z",
"consent_id": "<string>",
"consent_init_id": "<string>",
"period": {
"expiry": "2009-11-10T23:00:00Z",
"from": "2009-11-10T23:00:00Z",
"to": "2009-11-10T23:00:00Z"
},
"status": "<string>",
"u_at": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
The API requires a Bearer token (JWT) for authentication.
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
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": "afsdfj786fges87f68g8",
"d_oid": "162835406498984"
},
"patient": {
"health_id": "bobthebuilder@abdm",
"oid": "162835406498984"
}
}'
{
"consents": [
{
"c_at": "2023-11-07T05:31:56Z",
"consent_id": "<string>",
"consent_init_id": "<string>",
"period": {
"expiry": "2009-11-10T23:00:00Z",
"from": "2009-11-10T23:00:00Z",
"to": "2009-11-10T23:00:00Z"
},
"status": "<string>",
"u_at": "2023-11-07T05:31:56Z"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.