curl --request GET \
--url https://api.eka.care/abdm/v1/requests \
--header 'Authorization: Bearer <token>'{
"authorizations": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
],
"consents": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
],
"subscriptions": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
]
}API to list all the Subscriptions / Authorization and Consent requests
curl --request GET \
--url https://api.eka.care/abdm/v1/requests \
--header 'Authorization: Bearer <token>'{
"authorizations": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
],
"consents": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
],
"subscriptions": [
{
"created_at": "2023-11-07T05:31:56Z",
"duration": {
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"hiu": {
"id": "<string>",
"name": "<string>"
},
"id": "<string>",
"purpose": {
"code": "<string>",
"text": "<string>"
},
"requester": {
"name": "<string>"
}
}
]
}The API requires a Bearer token (JWT) for authentication.
Eka User ID (OID)
Partner User ID
Partner HIP ID
status of the request
requested, granted, expired, denied, revoked Specifies the type of request being queried.
consent, subscription, authorization, all OID is used to Identify the user.
OK
List of authorizations
Show child attributes
Time when the consent was created
Unique identifier for the consent/authorization/subscription
List of consents
Show child attributes
Time when the consent was created
Unique identifier for the consent/authorization/subscription
List of subscriptions
Show child attributes
Time when the consent was created
Unique identifier for the consent/authorization/subscription
Was this page helpful?