Skip to main content
POST
Python

Body

application/json
first_name
string
required

First name of the patient

Example:

"Jane"

last_name
string
required

Last name of the patient

Example:

"Doe"

phone_number
string
required

The phone number in E.164 format (e.g., +15555555555)

Pattern: ^\+[1-9]\d{1,14}$
Example:

"+15555555555"

address
object
required
project_id
string<uuid>
required

UUID of the project this patient belongs to

Example:

"123e4567-e89b-12d3-a456-426614174000"

email
string<email>

Email address of the patient

date_of_birth
string<date>

Date in ISO 8601 format (YYYY-MM-DD)

Example:

"1990-01-01"

primary_care_provider
object
insurance
object

Response

Patient created successfully

id
string<uuid>

UUID of the created patient

Example:

"123e4567-e89b-12d3-a456-426614174001"