Webhooks allows you to send real-time data from RotaCloud to other applications whenever a given event occurs.
With webhooks, information is passed to other web pages or applications as and when an event happens, contrary to a request-based API.
To set up a webhook in RotaCloud, head to Settings → API & Webhooks.
From here, click the blue plus button next to Webhooks to create a new webhook.
Then, choose your Object and Event from the drop down menu. The Object defines what you’d like to be notified on, and the Event sends a notification when a certain response has been made.
A list of the objects available are as follows:
With events, you have different options depending on your chosen object, these are listed below:
Events for ‘user’
Events for ‘location’
Events for ‘role’
Events for ‘shift’
Events for ‘attendance’
Events for ‘leave’
Events for ‘leave_request’
Events for ‘unavailability_request’
Once done, enter the relevant URL and click Create.
Once created, you’ll see your new webhook listed.
You can delete your created webhook at any time by clicking on the red ‘x’.