Skip to main content
Create a clinic
curl --request POST \
  --url https://api.spikecare.com/public/v1/clinics \
  --header 'Content-Type: application/json' \
  --data '
{
  "city": "<string>",
  "name": "<string>",
  "npi": 5499999999,
  "phone": "<string>",
  "state": "<string>",
  "street": "<string>",
  "tax_id": "<string>",
  "zip_code": "<string>"
}
'
{
  "city": "<string>",
  "id": 2,
  "name": "<string>",
  "npi": 5499999999,
  "phone": "<string>",
  "state": "<string>",
  "street": "<string>",
  "tax_id": "<string>",
  "zip_code": "<string>",
  "$schema": "<string>"
}

Body

application/json
city
string
required

City.

Required string length: 1 - 100
name
string
required

Display name of the clinic or practice location.

Required string length: 1 - 255
npi
integer<int64>
required

10-digit National Provider Identifier (NPI) for the organization.

Required range: 1000000000 <= x <= 9999999999
phone
string
required

Primary contact phone number for the clinic.

Required string length: 1 - 30
state
string
required

State or province code (e.g. two-letter US state).

Required string length: 1 - 50
street
string
required

Street address line (number and street name).

Required string length: 1 - 255
tax_id
string
required

Federal EIN or TIN for the clinic (no dashes).

Required string length: 1 - 20
zip_code
string
required

US ZIP code; 5 digits or 5+4 (ZIP+4).

Required string length: 1 - 20
Pattern: ^[0-9]{5}(-[0-9]{4})?$

Response

OK

city
string
required

City.

Required string length: 1 - 100
id
integer<int64>
required

Unique clinic identifier assigned by the API.

Required range: x >= 1
name
string
required

Display name of the clinic or practice location as it appears in your EMR.

Required string length: 1 - 255
npi
integer<int64>
required

10-digit National Provider Identifier (NPI) for the organization.

Required range: 1000000000 <= x <= 9999999999
phone
string
required

Primary contact phone number for the clinic.

Required string length: 1 - 30
state
string
required

State or province code (e.g. two-letter US state).

Required string length: 1 - 50
street
string
required

Street address line (number and street name).

Required string length: 1 - 255
tax_id
string
required

Federal EIN or TIN for the clinic (no dashes).

Required string length: 1 - 20
zip_code
string
required

US ZIP code; 5 digits or 5+4 (ZIP+4).

Required string length: 1 - 20
Pattern: ^[0-9]{5}(-[0-9]{4})?$
$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

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