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
  },
  "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>"
  }
}'
{
  "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.

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

200
application/json

OK

The response is of type object.