Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Webhooks

Get a message in Discord, Slack or your own system when a link is clicked.

On this page

Webhooks are under Vanity Links → Webhooks.

Add a webhook#

  1. Click New.
  2. Choose the Webhook Type: Custom Webhook, Slack, Discord, GitHub Webhooks or Stripe Events. A preset fills in the headers and the payload for you.
  3. Fill in the Webhook URL.
  4. Turn on Global Webhook to send it for every link, or choose one Vanity Link.
  5. Leave Active on and save.

Headers and payload#

Change Request Headers and Payload Template to fit the receiving system. The payload supports these placeholders:

Placeholder Value
{slug} The vanity path
{link_id} The ID of the link
{timestamp} Time of the click
{ip_address} IP address of the visitor
{total_hits} Total clicks on the link
{unique_hits} Unique visitors of the link

Webhooks are sent through the queue, so the Paymenter queue worker must run.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.