Register a new webhook endpoint to receive real-time event notifications.
Security
BearerAuth
- Mock serverhttps://docs.speedysticks.com/_mock/openapi/api/webhooks
- Productionhttps://api.speedysticks.com/api/webhooks
curl -i -X POST \
https://docs.speedysticks.com/_mock/openapi/api/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://webhook.site/624bbe8c-8939-4db0-952b-8590c7690dc9",
"events": [
"appointment.approved.v1",
"appointment.denied.v1"
]
}'Response
{ "id": 1, "url": "https://api.speedysticks.com/webhook-endpoint", "events": [ "appointment.approved.v1", "appointment.denied.v1" ] }