POST
/
abdm
/
v1
/
profile
/
share
curl --request POST \
  --url https://api.eka.care/abdm/v1/profile/share \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "counter_id": "<string>",
  "hip_id": "<string>",
  "location": {
    "latitude": null,
    "longitude": null
  }
}'
{
  "address": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "footer": "<string>",
  "hip_id": "<string>",
  "hip_name": "<string>",
  "request_id": "<string>",
  "show_token_screen": true,
  "token_expiry": "2023-11-07T05:31:56Z",
  "token_number": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
counter_id
string
required

Counter ID from QR Code

hip_id
string
required

HIP ID from QR Code

location
object

Location of the user

Response

200
application/json
OK
address
string

Address associated with the HIP.

created_at
string
hip_id
string

Health Information Provider (HIP) identifier

hip_name
string

Name of the Health Information Provider (HIP)

request_id
string

Unique identifier for the request

show_token_screen
boolean
token_expiry
string
token_number
string