Connect
- Webhooks
General Tools
- Self Assessments
- Medical Document Parsing
- Medical Speech Understanding
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
- POSTConsent approve
- POSTConsent deny
- POSTConsent revoke
- Consent Pin Management
- Overview
- GETExists
- POSTSet
- POSTChange
- Forgot Consent Pin
- Auto Approval
- Care Contexts
- Providers
- Profile
- Scan & Share
- Errors
Medical Records
- Create
- Read
- Update
- Delete
- Webhooks
User App
- Notifications
- Vital
- Webhooks
- Privacy
Release Notes
- ABDM Connect
Consent Pin Management
Set
POST
/
abdm
/
v1
/
consents
/
pin
/
set
curl --request POST \
--url https://api.eka.care/abdm/v1/consents/pin/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'
This response has no body data.
Authorizations
The API requires a Bearer token (JWT) for authentication.
Body
application/json
Pin to authorize consent.
curl --request POST \
--url https://api.eka.care/abdm/v1/consents/pin/set \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pin": "1234"
}'
This response has no body data.