Slack and Discord
Post a message to a Slack or Discord channel when a link is created, deleted or clicked. LinkLane writes the message for you, for example:
Click on `spring-sale` ✦ unique — US, Mobile, via instagram.com
PlanPro and above
Connect a channel
- Create an incoming webhook in your workspace:
- Slack: add the Incoming Webhooks app to a channel. The URL starts with
https://hooks.slack.com/. - Discord: open the channel's settings, then Integrations → Webhooks → New Webhook. The URL starts with
https://discord.com/api/webhooks/.
- Slack: add the Incoming Webhooks app to a channel. The URL starts with
- In LinkLane, open Integrations, pick Slack or Discord, paste the URL and choose events.
- Click Send test to post a sample click.
You can connect one Slack channel and one Discord channel. Saving again replaces the URL and events.
Events
| Event | Message |
|---|---|
link.clicked | The code, country, device and referrer. Unique clicks are marked. |
link.created | The new code and its destination. |
link.deleted | The deleted link's id. |
Clicks on a busy link post one message each. For high-traffic links, consider a webhook to your own server instead.
When delivery fails
After 10 failed posts in a row, LinkLane turns the integration off and sends you an in-app notification. Fix the URL, then turn it back on in Integrations.
Dashboard endpoints
These need a dashboard session.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | slack or discord. |
url | string | Yes | The incoming webhook URL. |
events | string[] | Yes | At least one of link.clicked, link.created, link.deleted. |
Changes url, events or active. Turning it back on resets the failure count.
Posts a sample click in the background and returns { "ok": true } straight away.