List webhooks
Method GET
https://my.easyweek.io/api/public/v2/webhooks
Description: This endpoint returns all webhooks configured for the workspace. Webhooks let your integration receive HTTP callbacks when events happen (bookings created, canceled, rescheduled, goods sold, and more).
Example Request
curl -i -X GET \
https://my.easyweek.io/api/public/v2/webhooks \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'
Example Response
{
"data": [
{
"id": 12,
"url": "https://example.com/hooks/easyweek",
"method": "post",
"description": "My webhook",
"success_statuses": "200, 201",
"status": "enabled",
"send_notification": false,
"emails": "",
"events": ["booking-created", "booking-canceled"],
"parameters": [],
"headers": [],
"tries": 3,
"timeout": 10
}
]
}
info
Available events: booking-created, booking-updated, booking-succeeded, booking-canceled, booking-rescheduled, goods-sold.