Skip to main content
WEBHOOK

Authorizations

Authorization
string
header
required

Your API key (dk_live_...), from Settings > Integrations > API in Docistra.

Headers

X-Docistra-Event
enum<string>
required
Available options:
patient.created,
patient.updated,
patient.deleted,
appointment.created,
appointment.rescheduled,
appointment.cancelled,
appointment.status_changed,
doctor.day_off,
doctor.day_on
X-Docistra-Event-Id
string<uuid>
required
X-Docistra-Signature
string
required
Example:

"t=1764583200,v1=5f2b..."

Body

application/json
id
string<uuid>

Same as X-Docistra-Event-Id; the same on every retry.

type
enum<string>
Available options:
patient.created,
patient.updated,
patient.deleted,
appointment.created,
appointment.rescheduled,
appointment.cancelled,
appointment.status_changed,
doctor.day_off,
doctor.day_on
created_at
string<date-time>

When the change happened.

organization_id
string
data
object

Response

200

Received