Skip to main content
Create a patient
curl --request POST \
  --url https://api.spikecare.com/public/v1/patients \
  --header 'Content-Type: application/json' \
  --data '
{
  "clinic_id": 2,
  "date_of_birth": "2023-12-25",
  "insurance_provider_id": 2,
  "name": "<string>",
  "address": "<string>",
  "email": "jsmith@example.com",
  "group_number": "<string>",
  "in_network_override": true,
  "phone": "<string>",
  "policy_id": "<string>"
}
'
{
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "$schema": "<string>"
}

Body

application/json
clinic_id
integer<int64>
required

ID of the clinic this patient is assigned to.

Required range: x >= 1
date_of_birth
string<date>
required

Date of birth in YYYY-MM-DD format.

insurance_provider_id
integer<int64>
required

ID of the patient’s primary insurance provider from the reference list.

Required range: x >= 1
name
string
required

Patient’s full name.

Required string length: 1 - 255
address
string

Patient’s street address (optional).

Maximum string length: 500
email
string<email>

Patient’s email (optional).

Maximum string length: 255
group_number
string

Insurance group number (optional).

Maximum string length: 255
in_network_override
boolean

Override network status for this patient: true = in-network, false = out-of-network (optional).

phone
string

Patient’s contact phone (optional).

Maximum string length: 30
policy_id
string

Insurance policy ID / member ID (optional).

Maximum string length: 255

Response

OK

patient_id
string<uuid>
required

Stable external patient ID (UUID). Use this to link the patient to your EMR’s local record.

$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://api.spikecare.com/public/v1/schemas/PatientCreateResponse.json"