The Webhooks screen allows you to configure integrations that send real-time event notifications from Autocab 365 to external systems.
You can use this to have custom notifications in other applications when an even triggers, for example, sending a notification when a booking is created or updating a system once a booking is complete.
What are webhooks?
A webhook allows one system to automatically notify another system when an event occurs. Instead of your system repeatedly checking for updates, the system sends you a HTTP request containing event data as soon as the event occurs. Webhooks allow you to receive real-time updates about events without needing to repeatedly query the system.
Prerequisites
Before adding a webhook provider, first ensure you have met the following criteria:
A URL where the data will be sent.
Any required API key or authentication details.
Access to the Webhooks section in Management.
Webhook service is enabled under General Settings > Webhooks > Settings.
You may need an administrator to enable the Webhooks permission in the Users > Roles tab.
Accessing the webhooks screen
To access the Webhooks screen:
In Management, navigate to General Settings.
Select Webhooks from the dropdown menu.
Adding a webhook provider
A Webhook provider represents the external system that will receive the event notifications.
To add a provider:
Click Add in the top-right of the screen.
Complete the following fields:
Enabled: Toggle to enable or disable this provider.
Once your system receives the webhook, it can use the data to automatically perform actions. For example, your system could trigger notifications or alerts.
Troubleshooting tips
Webhooks are sent instantly when events happen, so your system must be able to receive and process the request, otherwise errors may occur.
If your webhook is not working as expected, use the list below to help identify and fix the issue:
System not receiving any data
If your system is not receiving any webhook requests, there may be a few possible causes:
Webhook is disabled - Ensure that both the provider and webhook are enabled in 365.
Check your webhook source - Make sure that your webhook provider's system is working and able to accept requests
Incorrect URL - Double-check the Provider Base URL and Event URL Suffix.
Wrong event selected/Event not triggered - Confirm you have chosen the correct event type and check to see if the selected event has actually occurred.
Incorrect or invalid URL (404 Errors)
If you're encountering 404 errors, your webhook URL could not be reached.
To rectify this, ensure that your URL is correct, accessible, and not blocked by a firewall.
Authentication errors (401 / 403 Errors)
If you are encountering 401 or 403 errors, your system is refusing the connection due to invalid authorisation.
Check that your credentials (API key and header name) are correct.
Connection issues (Request times out)
If your webhook is failing, it may be because your system is too slow or unreachable:
Offline server - Make your system is online.
Slow response time - Your system should respond quickly, otherwise the sending system (Autocab 365) may assume the delivery has failed and the request times out.
Firewall or network blocking requests - Ensure your system allows for incoming requests.