POST
/
abdm
/
v1
/
session
/
init
cURL
curl --request POST \
  --url https://api.eka.care/abdm/v1/session/init \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "abha_address": "sudo@abdm"
}'
{
  "txn_id": "<string>"
}

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-Pt-Id
string

Eka User ID (OID)

X-Partner-Pt-Id
string

Partner User ID

X-Hip-Id
string

Partner HIP ID

Query Parameters

oid
string

OID is used to Identify the user.

Body

application/json
abha_address
string
required

Abha Address to generate user session token.

Examples:

"sudo@abdm"

Response

OK

txn_id
string

Transaction ID required for the next API call.