Live feed
With a live feed address, every click on the connection’s links is sent there as it happens, signed with the connection’s secret in the same X-NL-Signature format as webhooks:
{ "type": "click", "click": "Hk2v9QzL0aP3xT7m", "link_id": 991, "slug": "spring", "domain": "go.acmebakery.example", "short_url": "https://go.acmebakery.example/spring", "timestamp": 1794938110, "kind": "person", "reason": null, "country": "DE", "region": "Berlin", "city": "Berlin", "device": "mobile", "browser": "safari", "os": "ios", "referrer": null, "utm_source": "newsletter", "utm_medium": null, "utm_campaign": null, "route": null, "visitor": "f3637dedc0412240", "connection": 3 } The feed isn’t retried. Use the site API’s clicks to fill any gap.
Set it up#
Add a Live feed address (an https address on your server) and a secret when you add a connection. Only agency connections have a live feed.
Check the signature#
The feed is signed the same way as webhooks: X-NL-Signature: t=…,v1=…, with v1 the HMAC-SHA256 of t + "." + raw body using the connection’s secret. The same code works: see Check the signature.
Receive it#
app.post('/nl-feed', express.raw({ type: 'application/json' }), (req, res) => {
const raw = req.body.toString('utf8');
if (!verify(raw, req.get('X-NL-Signature'), process.env.NL_FEED_SECRET)) return res.sendStatus(401);
res.sendStatus(200);
const click = JSON.parse(raw);
if (click.kind === 'person') saveClick(click);
}); Feed or site API?#
| Live feed | Site API clicks | |
|---|---|---|
| Speed | As it happens | When you ask |
| Retries | None | Not needed: you read with a cursor |
| Best for | Real-time dashboards | Reliable syncing |
Use both for real-time numbers that are always complete: the feed for speed, and the site API every few minutes to fill gaps.


