curl --request POST \
--url https://api.spikecare.com/public/v1/webhooks/patient/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "create",
"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>"
}
]
},
"callbackURL": "<string>"
}
'