POST
/
v1
/
patient
/
create

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
address
string | null

The user's primary address.

addressLineTwo
string | null

Additional address information.

addressValid
boolean | null

Whether the user's address is valid.

allergies
string[] | null

List of patient's allergies.

city
string | null

The city of the user's address.

country
string | null

The country of the user's address.

dateOfBirth
string | null

The date of birth of the patient.

email
string | null

The user's email address.

externalUserId
string | null

An identifier in your system that corresponds to this patient.

familyHistory
string[] | null

List of patient's family medical history.

firebaseUid
string | null

The user's Firebase UID if available.

firstName
string
required

The user's first name.

gender
enum<string> | null

The gender of the patient.

Available options:
MALE,
FEMALE,
OTHER,
PREFER_NOT_TO_SAY
id
string | null

The unique identifier for the user.

lastName
string | null

The user's last name.

medicalHistory
string[] | null

List of patient's medical history.

medications
string[] | null

List of patient's medications.

meta
object | null

Any additional metadata about the user relevant to your system.

optedOutOfSms
boolean
default: false

Indicates whether the patient has opted out of receiving SMS messages.

phoneNumber
string | null

The user's phone number.

prescriptions
string[] | null

List of patient's prescriptions.

state
string | null

The state of the user's address.

type
string
default: PATIENT
updatedDate
string
zipCode
string | null

The postal code of the user's address.

Response

200 - application/json
address
string | null

The user's primary address.

addressLineTwo
string | null

Additional address information.

addressValid
boolean | null

Whether the user's address is valid.

allergies
string[] | null

List of patient's allergies.

city
string | null

The city of the user's address.

country
string | null

The country of the user's address.

createdDate
string
required

The date and time when the user was created.

dateOfBirth
string | null

The date of birth of the patient.

email
string | null

The user's email address.

externalUserId
string | null

The user's external identifier if available.

familyHistory
string[] | null

List of patient's family medical history.

firstName
string
required

The user's first name.

id
string
required

The unique identifier for the user.

lastName
string | null

The user's last name.

medicalHistory
string[] | null

List of patient's medical history.

medications
string[] | null

List of patient's medications.

meta
object | null

Any additional metadata about the user relevant to your system.

optedOutOfSms
boolean
default: false

Indicates whether the patient has opted out of receiving SMS messages.

phoneNumber
string | null

The user's phone number.

prescriptions
string[] | null

List of patient's prescriptions.

state
string | null

The state of the user's address.

type
string
required

The type of user.

zipCode
string | null

The postal code of the user's address.