GET
/
v1
/
patients
/
{patientId}
curl --request GET \
  --url https://api.soharhealth.com/v1/patients/{patientId} \
  --header 'Authorization: Bearer <token>'
{
  "patientId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "firstName": "John",
  "lastName": "Doe",
  "dateOfBirth": "09/20/2023",
  "state": "CA",
  "address": "1 BROADWAY, LOS ANGELES, CA 90210",
  "created": "2024-01-01T12:00:00.000Z",
  "updated": "2024-01-01T12:00:00.000Z"
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
A patient
patientId
string

The Sohar ID for the patient

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

firstName
string

The patient's first name

Example:

"John"

lastName
string

The patient's last name

Example:

"Doe"

dateOfBirth
string

The patient's birth date in MM/DD/YYYY format

Example:

"09/20/2023"

state
enum<string>

Two-letter US state code

Available options:
AK,
AL,
AR,
AZ,
CA,
CO,
CT,
DC,
DE,
FL,
GA,
HI,
IA,
ID,
IL,
IN,
KS,
KY,
LA,
MA,
MD,
ME,
MI,
MN,
MO,
MS,
MT,
NC,
ND,
NE,
NH,
NJ,
NM,
NV,
NY,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VA,
VT,
WA,
WI,
WV,
WY
Example:

"CA"

address
string | null

The patient's address

Example:

"1 BROADWAY, LOS ANGELES, CA 90210"

created
string

An ISO 8601 date and time string describing when the patient was created

Example:

"2024-01-01T12:00:00.000Z"

updated
string

An ISO 8601 date and time string describing when the patient was last updated

Example:

"2024-01-01T12:00:00.000Z"