Webhooks are data and executable commands sent from one app to another over HTTP instead of through the command line in your computer, formatted in XML, JSON, or form-encoded serialization.
Webhooks are activated in response to particular actions taking place, for example, when a customer clicks on a shortened link.
Note: Webhook integration requires the Pro plan.
In the following example we will demonstrate how to set up a webhook integration with the help of Webhook.site.
To add a webhook (using Webhook.site)
Open https://webhook.site/.
Copy the unique webhook URL which is automatically generated for you:
Short.io configuration
Sign in to your Short.io account.
Navigate to the Domain settings menu and click on Tracking:
In the Webhook URL field paste the URL which you copied from the webhook site.
Click on Save changes to confirm.
To test your webhook
Browse or click on one of the links which you have shortened and which belongs to the above domain.
In the webhook site a request result should be displayed and you can review its details:
Host - the IP address of the visitor
Date - the timestamp of the click
Referrer - the source of the click
Origin - the name of your short domain
User-agent - the browser fingerprint (serves as a valuable tool for determining whether clicks are generated by human users or automated bots)
Path - your short link slug
UTMs - the utm-tags that were appended to the short link (tags added during short link creation, or via UTM Builder on dashboard will not be displayed in webhook output data)
Note: If you do not receive request results in the browser, please disable any ad blockers you may have and try again.