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-09-08T01:22:00.909Z","updated_at": "2024-09-08T01:22:00.909Z","description": "","endpoint": "","events": [""],"signing_secret": "md5((random())::text)","source": ""}
id
Filter<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this webhook is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
description
Filter<text>
An optional description of the webhook
endpoint
Filter<text>
URL to which notifications should be sent
events
Filter<text[]>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<text>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<text>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this webhook is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
description
Filter<text>
An optional description of the webhook
endpoint
Filter<text>
URL to which notifications should be sent
events
Filter<text[]>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<text>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<text>
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<uuid>
Unique identifier
organization_id
Filter<uuid>
Identifier of the organization this webhook is defined in
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
description
Filter<text>
An optional description of the webhook
endpoint
Filter<text>
URL to which notifications should be sent
events
Filter<text[]>
Events to which the webhook is subscribed. For possible values, see a complete list
signing_secret
Filter<text>
String used to sign each notification send to the webhook. Used to verify the validity of the webhook notifications.
source
Filter<text>
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 '{}'