Core resources
Administration
Booking flow
Webhooks are a messaging mechanism that allow you to get notified on an endpoint of your choice as soon as certain events happen in Bookingmood.
For more information on the webhook mechanics, see our documentation
id
uuid
Unique identifier
organization_id
uuid
Identifier of the organization this webhook is defined in
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
description
text
An optional description of the webhook
endpoint
text
URL to which notifications should be sent
events
text[]
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
text
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
text
From where the webhook is registered. Can be from the admin, via the API, or via an external tool such as Zapier.
{"id": "00000000-0000-0000-0000-000000000000","organization_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-11-23T09:56:22.942Z","updated_at": "2024-11-23T09:56:22.942Z","description": "","endpoint": "","events": [""],"signing_secret": "md5((random())::text)","source": ""}
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this webhook is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
description
Filter<>
An optional description of the webhook
endpoint
Filter<>
URL to which notifications should be sent
events
Filter<>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<>
From where the webhook is registered. Can be from the admin, via the API, or via an external tool such as Zapier.
200
A list of webhooks with the selected columns
206
Partial Content
GET
/webhooks
curl -X GET "https://api.bookingmood.com/v1/webhooks?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Webhook>
| Array<Partial<Webhook>>
201
The newly created webhooks with the selected columns
POST
/webhooks
curl -X POST "https://api.bookingmood.com/v1/webhooks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this webhook is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
description
Filter<>
An optional description of the webhook
endpoint
Filter<>
URL to which notifications should be sent
events
Filter<>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<>
From where the webhook is registered. Can be from the admin, via the API, or via an external tool such as Zapier.
204
The deleted webhooks with the selected columns
DELETE
/webhooks
curl -X DELETE "https://api.bookingmood.com/v1/webhooks" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
organization_id
Filter<>
Identifier of the organization this webhook is defined in
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
description
Filter<>
An optional description of the webhook
endpoint
Filter<>
URL to which notifications should be sent
events
Filter<>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<>
From where the webhook is registered. Can be from the admin, via the API, or via an external tool such as Zapier.
Partial<Webhook>
204
The updated webhooks with the selected columns
PATCH
/webhooks
curl -X PATCH "https://api.bookingmood.com/v1/webhooks" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'