Authorization
Connect Login
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
- 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
Authorization
Connect Login
Authorization APIs to get access and refresh token
POST
/
connect-auth
/
v1
/
account
/
login
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}