POST
/
profiles
/
v1
/
patient
/
curl --request POST \
  --url https://api.eka.care/profiles/v1/patient/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'client-id: <client-id>' \
  --data '{
  "fn": "eka",
  "mn": "eka",
  "ln": "user",
  "dob": "2000-01-02",
  "gen": "M",
  "bloodgroup": "A+",
  "ccd": "+91",
  "mobile": "6000000000",
  "email": "testuser@eka.care",
  "username": "UH0001",
  "abha": "xyz@abdm"
}'
{
  "oid": "1876816818618681"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

client-id
string
required
Example:

"androiddoc"

Body

application/json

Response

201
application/json

Patient created successfully

The response is of type object.