POST
/
abdm
/
v2
/
profile
/
share
cURL
curl --request POST \
  --url https://api.eka.care/abdm/v2/profile/share \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "counter_id": "<string>",
  "hip_id": "<string>",
  "location": {
    "latitude": null,
    "longitude": null
  },
  "patient": {
    "abhaAddress": "<string>",
    "address": {
      "district": "<string>",
      "line": "<string>",
      "pin_code": "<string>",
      "state": "<string>"
    },
    "dayOfBirth": "<string>",
    "gender": "<string>",
    "mobile_no": "<string>",
    "monthOfBirth": "<string>",
    "name": "<string>",
    "yearOfBirth": "<string>"
  },
  "request_id": "<string>",
  "user_x_token": "<string>"
}'
{
  "request_id": "<string>",
  "status": "success"
}

Authorizations

Authorization
string
header
required

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

Headers

X-User-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

Response

202
application/json

Accepted

The response is of type object.