
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGreat question about webhook security! When setting up firewall rules for Sanity webhooks in your staging environment, here's what you need to know:
IP Whitelisting
Sanity webhooks are sent from a specific set of IP addresses that you can whitelist in your firewall. The current IP addresses are:
34.79.12.22935.205.99.11635.190.215.189You can find the latest list at https://www.sanity.io/files/webhooks-egress-ips.txt.
While https://api.sanity.io is the domain webhooks originate from conceptually, for firewall allowlisting you'll want to use these specific IP addresses rather than trying to resolve the domain, as that would be less reliable for security configurations.
Additional Security Recommendations
Beyond IP whitelisting, Sanity's webhook best practices recommend implementing additional security measures:
idempotency-key header to handle duplicate deliveries gracefullyThis layered approach (IP allowlist + secret verification + signature verification) provides robust security for your webhook endpoint.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store