Skip to main content
Patient Webhook
curl --request POST \
  --url https://api.spikecare.com/public/v1/webhooks/patient/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "create",
  "callbackURL": "<string>",
  "data": {
    "id": "<string>",
    "clinicId": "<string>",
    "name": "<string>",
    "dateOfBirth": "<string>",
    "address": "<string>",
    "policies": [
      {
        "id": "<string>",
        "policyId": "<string>",
        "groupNumber": "<string>",
        "insuranceProvider": {
          "id": "<string>",
          "name": "<string>",
          "phoneNumber": "<string>"
        },
        "networkType": "<string>"
      }
    ]
  }
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Patient Webhook Request Body

action
enum<string>
required

Action

Available options:
create
data
object
required

Patient Data

callbackURL
string

Callback URL

Response

Patient Webhook Response

id
string
required

Patient Id