Skip to main content

Get the subscription requests patients lockers

Retrieve a list of health lockers associated with a given ABHA address. It includes both active and inactive subscriptions based on the includeInactive parameter.

GET/api/hiecm/subscription-requests/v3/patients/lockers

Authorizations

Authorizationbearer tokenRequired

Query parameters

includeInactivestringRequired

Indicates whether to include inactive records

Headers

REQUEST-IDstringRequired

Unique UUID for tracking the end-to-end request transaction

TIMESTAMPstringRequired

Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds, and milliseconds

X-CM-IDstringRequired

Suffix of the consent manager to which the request was intended

X-AUTH-TOKENstringRequired

JWT Authentication token issued by ABDM after successful validation of username and password

Responses

200

OK

400

Bad Request. The request could not be processed because it was malformed or failed validation - a missing mandatory field, a value in the wrong format, or a header that did not match the body.

401

Unauthorized. The request carried no valid credentials, or the access token has expired. Obtain a fresh token from the session API and retry.

Everything returns 401

403

Forbidden. The caller is authenticated but is not permitted to perform this operation on this resource.