Changes

Jump to navigation Jump to search

Category:Webhooks

1,711 bytes added, 26 March
no edit summary
<div class="heading">Webhooks</div>
This page gives a a general overview over web hookswebhooks.
Webhooks are small messages sent from our server to yours, they can be used to trigger an action on your server in a timely manner, for example to retrieve a new booking via API.
 
= Booking Webhook =
Triggered on a new or modification to an existing booking.
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span>Webhooks are asynchronous and there can be a small messages variable delay between a change and a webhook being sent from our server (an average delay of one minute is to be expected). They are not an instant notification. Setup: {{#fas:cog}} (SETTINGS) PROPERTIES > ACCESS  Webhook URL's are specified per property so you can transmit information to yours, they identify the property in the URL <code> <nowiki>https://yourdomain.com/page?property=1</nowiki></code> <code> <nowiki>https://yourdomain.com/page?property=2</nowiki></code>  <code> <nowiki>https://yourdomain.com/page?property=3</nowiki></code>  Template variables can also be used to trigger an action on your server in the URL <code> <nowiki>https://yourdomain.com/page?property=[PROPERTYID]</nowiki></code> <span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span>Ensure any information included in the URL by template variable is suitable for a timely mannerURL, for example guest names may contain characters that are not allowed in URL's and may cause the webhook to retrieve a new booking via APIfail== Version 2 Booking Webhook ==
Booking webhooks can contain the booking data as a JSON object in their body.
This can mean in many cases there is no need to make any additional API call after receiving the webhook.
= Booking Webhook =Technical documentation can be found here https://api.beds24.com/v2/#/Webhooks/postWebhooks___bookings
Triggered on This is currently a new or modification Beta function, please contact support if you wish to an existing bookinguse it.
= Auto Action Webhook =
Triggered when an auto action triggers.
Triggered when an auto action triggersSetup: {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT > AUTO ACTIONS
= Inventory Webhook =
Triggered when room inventory or price changes.
 
Setup: {{#fas:cog}} (SETTINGS) APPS & INTEGRATIONS > WEBHOOKS
Triggered when room inventory or price changesMore information can be found here [https://wiki.beds24.com/index.php/Inventory_Webhooks Inventory Webhooks]

Navigation menu