# Create a Webhook Creates a webhook for the authenticated practice group. Endpoint: POST /v1/webhooks Version: 1.0.0 Security: apiKeyAuth, practiceGroupId ## Request fields (application/json): - `description` (string) - `event_type` (string, required) Enum: "appointment.confirmed", "appointment.cancelled", "appointment.rescheduled", "prescription.issued", "patient.medical-record-updated", "patient.added-to-sequence" - `signing_key` (string) - `url` (string, required) - `headers` (object) ## Response 200 fields (application/json): - `id` (string, required) - `event_type` (string, required) - `url` (string, required) - `signing_key` (string) - `headers` (object) - `created_at` (string, required) - `updated_at` (string, required) ## Response 400 fields (application/json): - `error` (boolean, required) - `statusCode` (number, required) - `message` (array, required) - `message.code` (string, required) - `message.expected` (string, required) - `message.path` (array, required) ## Response 401 fields ## Response 500 fields