Subscribe to registry changes
On Growth and higher plans, open Settings → Webhooks and add your HTTPS receiver. Subscribe to the event types you need, such as npm_package.published, npm_package.unpublished, registry_download_key.created, registry_download_key.updated, and registry_download_key.revoked. Use * only when your receiver can safely ignore future event types.

Verify and test delivery
- Store the endpoint's signing secret on your server. Verify the Standard Webhooks
webhook-id,webhook-timestamp, andwebhook-signatureagainst the raw request body before parsing it. - Use Send test event on the endpoint page, then inspect its delivery history and your receiver logs.
- Deduplicate business effects by organization and event ID. A delivery can retry, and events can arrive out of order.
The payload identifies a resource and action; it does not contain package contents, customer details, or download-key secrets. The API reference covers resource lookups, and the sales automation guide covers the separate inbound payment event flow.