The use of webhooks enables you to be notified in real time in your favourite applications when a modification is made on orders in your AntsRoute account. In concrete terms, a webhook let you send an HTTP request to a specified URL in response to an event.
The automated sending of this information makes it possible to trigger workflows in the incoming application. For example, the creation of an invoice in your Quickbooks account as soon as a delivery is completed with AntsRoute.
Add a webhook
First, you need to get the webhook URL of the application to which you want to send the data.
- Click on the blue circle at the top right.
- Go to the 'Integrations' tab.
- Click on 'Webhooks'.
- Click on the button 'Add'.
- Fill in the following information:
- Name ;
- URL address ;
- Authentication mode ;
- Username ;
- Determine the Events to send.
- Click on the button 'Save'.
Here are the AntsRoute events that can be sent:
- Field service done ;
- Field service canceled ;
- Field service deleted ;
- Field service locked ;
- Customer signature added ;
- Photo evidence added.
Here is an example of an HTTP request:
Check the logs
The 'Logs' enables you to access the history of the information sent to your applications and display any errors for each of your webhooks.
- Identify a webhook and click on '…'.
- Click on 'Logs'.