Skip to main content
GET
/
profiles
/
v1
/
patient
/
{username}
/
username
/
?flatten=true
Retrieve patient profile by username
curl --request GET \
  --url 'https://api.eka.care/profiles/v1/patient/{username}/username/?flatten=true' \
  --header 'Authorization: Bearer <token>' \
  --header 'client-id: <client-id>'
[
  {
    "oid": "175074536120088",
    "wid": "77088166996724",
    "ps": "P",
    "c_ate": 1750745358,
    "u_ate": 1750745358,
    "gen": "M",
    "dob": "2000-01-02",
    "is_age": true,
    "fn": "Eka",
    "ln": "User",
    "fln": "Eka User",
    "bg": "B+",
    "mobile": "1201201201",
    "ccd": "+91",
    "email": "eka.user@example.com",
    "username": "ABC001",
    "s": "Mr.",
    "abha": "example@abdm"
  }
]

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:

"eka-doc"

Path Parameters

username
string
required
Example:

"exampleusername"

Response

Patient profile details

oid
string
Example:

"175074536120088"

wid
string
Example:

"77088166996724"

ps
string
Example:

"P"

c_ate
integer
Example:

1750745358

u_ate
integer
Example:

1750745358

gen
string
Example:

"M"

dob
string<date>
Example:

"2000-01-02"

is_age
boolean
Example:

true

fn
string
Example:

"Eka"

ln
string
Example:

"User"

fln
string
Example:

"Eka User"

bg
string
Example:

"B+"

mobile
string
Example:

"1201201201"

ccd
string
Example:

"+91"

email
string<email>
Example:

"eka.user@example.com"

username
string
Example:

"ABC001"

s
string
Example:

"Mr."

abha
string
Example:

"example@abdm"