POST
/
patients
Create Patient
curl --request POST \
  --url https://api.axlehealth.com/api/v2-stable/patients \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "dob": "1988-05-03",
  "sex": "M",
  "external_id": null,
  "email": "johndoe@example.com",
  "phone": "+17443879659",
  "addresses": [
    {
      "line1": "123 Main St",
      "line2": "",
      "city": "Los Angeles",
      "state": "CA",
      "zip_code": "81001"
    }
  ],
  "preferred_language": "en",
  "communication_settings": {
    "allows_automated_calls": false,
    "allows_clinician_calls": true,
    "allows_automated_sms": false,
    "allows_clinician_sms": true,
    "allows_automated_emails": false
  },
  "payers": [
    {
      "payer_id": "79b7c3c9-8e1a-44ec-94c4-f3b917eb5bb4"
    }
  ]
}'
{
  "patient_id": "89eac3c9-7e0e-44ec-94c4-f3bc17eb52f8"
}

Body

application/json
first_name
string
required

First name of the patient (non-empty)

Minimum length: 1
last_name
string
required

Last name of the patient (non-empty)

Minimum length: 1
dob
string<date>
required

Date of birth of the patient

sex
enum<string>
required

Gender of the patient

Available options:
M,
F,
I,
U
external_id
string | null

Optional external identifier for the patient

email
string<email> | null

Optional email address of the patient

phone
string | null

Optional phone number of the patient

addresses
object[]
preferred_language
string

Preferred language of the patient

communication_settings
object

Optional settings for communication with patients

payers
object[] | null
metadata
object

Optional metadata related to the patient

Response

Patient created successfully

patient_id
string<uuid>

UUID of the created patient