Webhooks

This is a

How do Webhooks work?

Webhooks in LinkCentral allow you to send data to external services after a link is clicked. This enables powerful integrations with platforms such as Zapier, Make.com, n8n, or any custom endpoint that supports incoming webhook requests.

Webhooks are sent asynchronously, meaning they do not delay the redirect process for the user. The payload is sent as JSON in the request body, with the header: Content-Type: application/json

Enabling Webhooks

To enable and configure webhooks:

  • Go to LinkCentral Settings > Plugin > Additional Features.
  • Enable the Webhooks toggle.
  • Click Configure to access the webhook settings.

Configuration Options

  • Webhook URL: The endpoint URL that will receive the request.
  • HTTP Method: The HTTP method used to send data. Supported methods: POST, PUT, PATCH, DELETE.
  • Payload Data: Choose which data points to include in the webhook payload. Options are:
    • Link ID
    • Slug
    • Link Title
    • Destination URL
    • User Agent
    • IP Address
    • Unique Visitor ID
    • Country
    • Referring URL
    • Click Date/Time
    • User ID (if logged in)

Note:

  • If an enabled value is unavailable (e.g., country cannot be detected), a null value will be sent.
  • Webhook settings override privacy settings. For example, even if IP tracking is disabled under the Tracking tab, enabling IP Address in the webhook payload will still send it.

Example Payload

{
"link_id": 1,
"slug": "my-affiliate-link",
"title": "My Affiliate Product",
"redirection_url": "https://example.com/product",
"user_agent": "Mozilla/5.0…",
"ip_address": "192.168.1.1",
"country": "UK",
"referring_url": "https://mysite.com/blog-post",
"click_datetime”: "2025-01-15 14:30:25",
"user_id": 123
}

Example use cases

Here are some example use cases to inspire you on how to leverage webhooks and LinkCentral’s dynamic redirects with external tools like Zapier, Make.com, n8n, IFTTT, and others:

  • Log all link clicks into a Google Sheet
  • Send Slack or email alert when a specific link is clicked
  • Track geographic performance by country in Airtable
  • Trigger a Make.com scenario to update campaign performance dashboards
  • Send targeted emails to signed-in users after they click a link
Contents