POST
/
patients
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

Response

201
application/json

Patient created successfully

The response is of type object.