Webhooks
On Business, receive events such as track.offline as signed requests at your own address. Events, the signature, retries and resending.
Updated October 22, 2026
A webhook endpoint is an address plus the events it wants. We send each event as a signed POST the moment it happens. Endpoints are part of Business; manage them in API keys or with /v1/webhooks. On Pro, read the same events from GET /v1/events, which keeps them for 30 days.
They go out through our proxy network, so your endpoint never sees our servers' address, and never to private or internal addresses.
Events
| Event | When |
|---|---|
track.offline | A track can no longer be played |
track.restored | It plays again |
release.detected | A new release appeared on a profile |
release.removed | A release disappeared |
release.restored | It is back |
change.confirmed | Any change is confirmed, alongside the events above |
change.resolved | Someone marked a change as resolved |
artist.added, artist.removed | The roster changed |
artist.verified, artist.verification_failed | A verification went through, or did not |
usage.limit_near | 80 percent of the plan's artists are in use |
export.ready | A requested export can be downloaded |
The request
POST /your/endpoint
Content-Type: application/json
X-LabelSentry-Event: track.offline
X-LabelSentry-Delivery: 2b7d...
X-LabelSentry-Signature: t=1792675200,v1=5f2c9e...{ "id": "a2cd...", "type": "track.offline", "created_at": "2026-10-22T18:23:04Z",
"data": { "object": "change", "id": "8808...", "type": "track_offline", "summary": "Harbour Lights is offline" } }data is the same object the API returns for it, here a change.
Check the signature
The signature is an HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with the endpoint's secret. While a secret is being rotated, the header carries a v1 for each of the two secrets; accept either. The SDKs do this for you:
import { verifyWebhook } from "@labelsentry/sdk";
const event = await verifyWebhook(rawBody, req.headers["x-labelsentry-signature"], process.env.HOOK_SECRET);Reject requests older than five minutes, so a captured request cannot be sent again later. Use id to recognise an event you already handled: the order of deliveries is not guaranteed.
Answer and retries
Answer with any 2xx status within 10 seconds. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours. An endpoint that fails for three days is paused and its admins get an email. Every delivery shows its status, answer and duration, and can be sent again.
Alert webhooks
A Custom Webhook alert destination still works as before: it sends every change its rules let through, signed the same way, with X-LabelSentry-Event: change.confirmed. Endpoints are the better choice for new integrations, because they carry every event type and can be resent.
Read next
Still a question?
Remi looks through every help page for you.
Still stuck? Write to [email protected].