v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBWebhooks
Register Webhook
Registers a new webhook triggered by specific events. Each webhook is linked to a business_id, client_id, endpoint, and event_names defining the events that trigger it. The service sends POST requests to the specified URL for these events. The URL must be reachable and preferably secure (HTTPS). Optionally, a signing key can be provided to verify webhook payload authenticity.
post/notification/v1/connect/webhook/subscriptions
Request body
Example request
{
"event_names": [
"appointment.created",
"appointment.updated",
"prescription.created",
"prescription.updated",
"receipt.created",
"receipt.updated"
],
"endpoint": "https://example.com/webhook",
"signing_key": "supersecretkey",
"protocol": "https"
}Response
Webhook registered successfully.
Example response
{
"id": "7",
"status": "success"
}