Skip to main content
Create or Update Patient
curl --request PUT \
  --url https://api.spikecare.com/public/v1/patients/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "date_of_birth": "2023-12-25",
  "source_id": "<string>",
  "address_line_1": null,
  "address_line_2": null,
  "city": null,
  "state": null,
  "zip_code": null,
  "patient_specialties": [
    "PHYSICAL_THERAPY"
  ],
  "status": "INTAKE",
  "provider_service_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_name
string
required

Patient's first name

last_name
string
required

Patient's last name

date_of_birth
string<date>
required

Patient's date of birth

source_id
string
required

Patient's EHR ID (or other unique identifier) that you have in your system

patient_specialties
enum<string>[]
required

Patient's specialties. A patient can have multiple

status
enum<string>
required

Patient's status

Available options:
INTAKE,
ACTIVE,
DISCHARGED,
ON_HOLD
provider_service_location_id
string<uuid>
required

Provider Service Location ID (where the patient receives service)

provider_id
string<uuid>
required
address_line_1
string | null

Patient's street address

Maximum length: 255
address_line_2
string | null

Patient's apartment, suite, unit, etc.

Maximum length: 255
city
string | null

Patient's city

Maximum length: 255
state
string | null

Patient's state

Maximum length: 255
zip_code
string | null

Patient's zip code

Response

patient_id
string<uuid>
required