Whether you can allowlist a webhook sender's IPs depends entirely on the sender. We looked at what Stripe, GitHub, Shopify, Slack, SendGrid and others publish, how to keep an allowlist current automatically, and why signatures still do the real work.
Whether you can allowlist a webhook sender's IPs depends entirely on the sender. Some publish a list and announce changes, some publish broad ranges through an API, some publish a list but say it can change without notice, and some publish nothing. This post lays out what each major provider does, how to keep an allowlist current automatically, and why signatures still have to do the real work.
This is about receiving webhooks. If you're the sender and a customer is asking which IPs your webhooks come from, see Sending webhooks from a static IP.
What each provider publishes
Checked against official sources on 2026-09-27.
| Provider | What's published | Changes | Official stance |
|---|---|---|---|
| Stripe | 15 webhook IPs, as a page plus text and JSON files | Announced 7 days ahead on a mailing list | Use both the IP allowlist and signature verification |
| GitHub | CIDR ranges in the hooks key of the REST /meta endpoint |
"From time to time" | Doesn't recommend allowing by IP; if you do, monitor the API |
| KOMOJU | A list of 9 IPs in its docs | May change without notice | Doesn't recommend IP-based access control; verify signatures |
| Backlog | Git webhook source IPs, announced (replaced in 2026) | New IPs and removal dates announced in advance | Update allowlists per the announcement |
| SendGrid | Not published | "Our IPs often change because we constantly add more machines" | Don't block SendGrid IPs |
| Shopify | Not published | — | No static IP for webhook delivery (Shopify staff on its developer forum) |
| LINE | Not published | May change without notice | IP restriction won't work; verify signatures |
| Slack | No source IPs documented for the Events API | — | Verify requests with signing secrets |
Sources (all checked 2026-09-27):
- Stripe: Domains and IP addresses, ips_webhooks.json, webhook best practices
- GitHub: Meta API, About GitHub's IP addresses
- KOMOJU: Webhooks
- Backlog: Git webhook IP address change announcement
- SendGrid: Event Webhook overview
- Shopify: Shopify developer forum reply, 2025-11-14
- LINE: Signature verification tips
- Slack: Security best practices
A couple of notes. Backlog's 2026 announcement covered Git webhooks only and said regular webhooks were unaffected; it asked customers to add 14 new addresses by 2026-08-05 and said 16 old ones would be removed after 2026-09-30. GitHub's page on its IP addresses says the published ranges are used to serve content, deliver webhooks and run hosted Actions, so they cover far more than webhooks.
Four kinds of sender
- Published list, announced changes (Stripe). Allowlisting is workable if you also subscribe to the announcements.
- Ranges via API (GitHub). Broad ranges shared with other GitHub services; fetch them regularly.
- Published list that may change without notice (KOMOJU). An allowlist can break your integration with no warning.
- Nothing published (Shopify, SendGrid, LINE, and Slack as far as its docs go). IP filtering isn't an option.
Keeping an allowlist current
Never copy IPs into a config file by hand and forget them. Fetch the machine-readable lists on a schedule. Stripe serves {"WEBHOOKS": [...]}; GitHub's https://api.github.com/meta returns an array of CIDRs under hooks.
// Run daily; regenerate the allowlist config
type Source = { name: string; fetchList: () => Promise<string[]> };
const sources: Source[] = [
{
name: 'stripe',
fetchList: async () => (await (await fetch('https://stripe.com/files/ips/ips_webhooks.json')).json()).WEBHOOKS,
},
{
name: 'github',
fetchList: async () => (await (await fetch('https://api.github.com/meta')).json()).hooks,
},
];
for (const s of sources) {
const list = await s.fetchList();
if (!Array.isArray(list) || list.length === 0) {
// Keep the previous list. Writing an empty list would block everything
console.error(`[allowlist] ${s.name}: fetch failed, keeping previous list`);
continue;
}
await writeAllowlist(s.name, list); // nginx allow lines, a WAF IP set, etc.
}
Two rules: a failed fetch must never replace a good list with an empty one, and changes should be logged or alerted on so someone notices when a provider moves.
Why allowlisting doesn't replace signatures
- Everyone on the provider shares the IPs. Webhooks created by any other Stripe or GitHub user come from the same addresses. An IP match proves the request came from that provider's network, not from your account on it.
- It can't detect tampering. Only a signature over the body shows the content is what the sender sent.
- It doesn't work for providers that don't publish. Shopify, SendGrid and LINE leave you with signatures only.
Stripe's own guidance is to use both protections. Treat the allowlist as the outer layer and the signature as the one that decides.
When policy insists on an allowlist
If your security policy requires IP filtering on the internal network but the sender doesn't publish IPs, split receiving into two hops:
- A small public endpoint receives the webhook and verifies its signature.
- Verified events are forwarded into your network from a fixed IP (directly or through a queue).
- The internal firewall allows only that one address.
Forgeries stop at the public endpoint, and the internal side gets the single fixed source it needs.
Checklist
- For each sender, you know whether it publishes IPs and how changes are announced
- Published lists are fetched automatically, and a failed fetch keeps the old list
- Signature verification runs whether or not the IP matches
- Senders without published IPs are protected by signatures, or received outside and forwarded in
If you're on the sending side and customers need a fixed source IP, Webhook Admin can send from a static IP on the Starter plan and above (pricing): https://app.webhookadmin.com/signup
Quick FAQ
How do I protect an endpoint when the sender doesn't publish IPs?
With signature verification. If policy requires an IP allowlist on your internal network, receive webhooks on a small public endpoint that verifies signatures, then forward only verified events inward from a fixed IP. The internal firewall then has one address to allow.
How often do published IP lists change?
It depends on the provider. Stripe announces changes 7 days ahead on a mailing list. GitHub says it changes its addresses from time to time and asks you to monitor its API. Backlog replaced its Git webhook IPs in 2026 with announced deadlines. Fetch lists on a schedule instead of copying them by hand.
Is IP allowlisting enough on its own?
No. It doesn't prove the body wasn't altered, and every other customer of the same provider sends from the same addresses. Use it together with signature verification.
Thanks for reading! Does your security team require IP allowlists for inbound webhooks? We'd love to hear how you handle it in the comments.
This post first appeared on the Webhook Admin blog.
Top comments (4)
The published-range problem is exactly what AS2 and SFTP operators live with — partners pin your outbound IP in their firewall, so a silent egress change doesn't degrade the connection, it ends it. The practice that saves us: treat your published IP set like an API contract, version it, announce changes weeks ahead, and keep the old address answering through the whole partner migration window. An allowlist is a promise, and breaking it looks identical to an outage from the other side.
I wondered whether matching on the network (ASN) instead of single IPs would hold up better when ranges change, and it doesn't. GitHub's current hooks list spans three networks, its own AS36459 plus Fastly's and Microsoft's, and all 15 of Stripe's webhook IPs are on AWS, so an ASN rule would also let in anyone else on Microsoft's or Amazon's networks.
Thanks for actually checking this. That's the problem with ASN rules in a nutshell: once a provider sends from a shared cloud network, the rule lets in everyone else on that network too. Published ranges plus signature verification is still the combination that holds up, with the IP list as the outer filter and the signature as the real check.
Your point that providers keep pushing signatures over IP allowlists matches how we ended up handling this. We verify the signature on a small public receiver, then forward each event to the internal services. One gotcha there is the forwarding step has to pass the body through byte-for-byte. A proxy that re-serializes the JSON silently breaks signature checks on the inside. fwiw this is why I built Webhook Relay, its agent pulls deliveries inward over an outbound connection so nothing needs an inbound port.