GET
/
profiles
/
v1
/
patient
/
search
Search patient profiles
curl --request GET \
  --url https://api.eka.care/profiles/v1/patient/search \
  --header 'Authorization: Bearer <token>' \
  --header 'client-id: <client-id>'
[
  {
    "username": "1111111111",
    "mobile": "98765XXXXX",
    "oid": "17552615662165",
    "fln": "Veena"
  }
]

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:

"EC_1431"

Query Parameters

prefix
string
required

The search term to match against patient profiles. This can be a username, mobile number, or full name (prefix match).

Example:

"121"

limit
integer
Example:

10

select
string

Comma-separated list of additional fields to include in the response. Example: abha,dob,gen

Valid optional fields: abha, c_ate, dob, gen, u_ate, is_age

Response

200
application/json

A list of patient profiles matching search query (PREfix search)

The response is of type object[].