Security
How to set up an IP allowlist for your Shopify app
Shopify now checks where every Admin API call made with your app's tokens comes from. Who needs an allowlist, the deadlines, IPs or ASNs, and how to test it.
· 7 min read
An app's access token is a key to a merchant's store. Until now, anyone holding a leaked token could use it from anywhere on the internet. Shopify's IP allowlist closes that gap: you tell Shopify which networks your servers call the Admin API from, and Shopify refuses requests made with your app's tokens from anywhere else.
For public apps the allowlist is no longer optional. This guide explains who needs one, the dates, how to choose between IP addresses and network numbers (ASNs), how to test before you switch enforcement on, and the cases the allowlist does not cover.
What the allowlist does
Shopify checks the source IP address of every GraphQL and REST Admin API request made with your app's tokens. A request from outside your list gets a 403. So does a request whose source Shopify can't confirm.
It is set per app, in the Dev Dashboard, and applies to every store that has the app installed.
Who needs one, and by when
- Public apps that call the Admin API.
- Custom apps installed on stores outside your organization. Custom apps used only inside your own organization don't have to, though Shopify recommends it.
Apps created by merchants in the Dev Dashboard or the Shopify admin are not covered by the requirement.
| Date | Public apps without an allowlist | Custom apps installed outside your organization |
|---|---|---|
| November 12, 2026 | Bulk queries and bulk mutations are blocked | |
| November 20, 2026 | Delisted from the App Store, blocked from new installs, flagged in the merchant's Settings > Apps. Existing installs keep working | Required for new installs |
| January 1, 2027 | Required for every install outside your organization. One app without an allowlist affects your ability to install any app on stores outside your organization | |
| January 15, 2027 | Merchants see a warning in the Shopify admin | |
| April 1, 2027 | Admin API requests fail (per Shopify's changelog) |
If a deadline is a real problem, Shopify's changelog points to an extension request form.
The allowlist limits where a token works; expiring offline access tokens limit for how long. Shopify asks for both, and for apps that run on the online store, a network access declaration as well. Every date and requirement is on one page: Shopify app security deadlines 2026–2027.
Where to set it
Open your app in the Dev Dashboard, go to Settings, and click Manage next to IP allowlist. The screen has three fields:
- IP addresses or CIDR ranges: up to 250 entries, one per line.
- Networks (ASN): up to 10 autonomous system numbers, with or without the
ASprefix. - Limit ASNs to countries: up to 10 countries. They narrow the ASNs only, never the IP addresses.
Then Run test, then switch on Enforce IP allowlist and Save. Switching enforcement off later keeps the list.
Static addresses or networks?
The right entries depend on how your servers reach the internet.
Your servers have fixed addresses
List them. This is the strictest and the simplest option.
- Use public addresses only. If your servers sit behind a NAT gateway, list the gateway's addresses, not the servers' private ones.
- Ranges must start at the network address:
203.0.113.0/24is accepted,203.0.113.7/24is not. - IPv4 ranges can be
/16or narrower; IPv6 ranges/32or narrower. - If your servers reach Shopify over IPv6, list their IPv6 addresses too. A server with both often uses IPv6 without anyone deciding it should.
Your hosting changes addresses
Most serverless platforms and many container hosts send requests from addresses that change. For those, Shopify lets you list your hosting provider's ASNs, the numbers that identify its network.
To find the right ASNs, look in your host's documentation, or read the client IPs of your own recent requests in the Dev Dashboard's Logs.
You can mix both in one list, for example your provider's ASN for the app itself plus a fixed address for a reporting tool that also calls the Admin API.
How Shopify decides
IP ranges are checked first, and a match is allowed straight away. Any other request is looked up by ASN and country, using MaxMind GeoLite data. A request with no ASN, or with no country when you listed countries, is rejected.

Test before you enforce
- Before switching enforcement on, use Run test under Test against recent traffic. It checks the last 30 days of your app's own requests against the list and shows what would have been refused. Results can take a few minutes.
- Make a list of everything that calls the Admin API with your app's tokens, not only the main app: background workers, cron jobs, a reporting script on someone's laptop, a staging server that uses production credentials. Each one needs to be inside the list, or moved.
- Switch on Enforce IP allowlist, then make one GraphQL Admin API request from a machine outside the list and confirm it gets a
403. - Keep an eye on your API logs afterwards. Shopify recommends reviewing them on a schedule.
What the allowlist never blocks, and what it can't cover
Requests that are never rejected:
- Development preview requests on development stores.
- Direct API access from embedded app pages, admin UI extensions and POS UI extensions.
Requests the allowlist does not work for:
- Tokens used by Shopify Flow's Send HTTP request action.
- GraphQL requests from a storefront hosted on Oxygen.
Apps that don't call the Admin API themselves
If your app makes no GraphQL or REST Admin API calls with its own tokens, for example an app made only of extensions, the same screen offers an access policy that blocks all requests. Shopify accepts it as meeting the requirement. Requests then fail with a 403 and the message "This app blocks all Admin API requests made with its access tokens."
Allowlists in the other direction
The allowlist controls where your calls to Shopify come from. Two related cases trip people up:
- Webhooks. Shopify does not publish a fixed list of IP addresses that webhooks come from, so you can't allowlist Shopify on your side. Verify each delivery with the
X-Shopify-Hmac-Sha256header instead: compute an HMAC-SHA256 of the raw request body with your app's secret and compare it in constant time. Do it before any middleware parses the body, or the bytes no longer match. - Payment providers and partner APIs. Many of them only accept calls from addresses you register with them. That is the same idea from the other side, and the same fixed-address advice applies: if your servers have one stable public address, both lists stay short and correct.
A use case: how this looks for a small team
Our own apps run on one virtual server with a fixed public address, which is the easiest case there is: the allowlist is that address, plus its IPv6 address if the server uses one. The work is not the list, it's the inventory: everything that might call the Admin API with an app's token. For us that is the app itself, its scheduled jobs, and the occasional one-off script run from a laptop, and the scripts are the ones an allowlist breaks.
We met the other direction first. A mobile money payment provider we integrate for partial payments only accepts API calls from registered server addresses, so our server's address had to be listed on their side before a single payment could go through. With a fixed address that is one entry on their side, and the same address is the one entry Shopify's allowlist needs.
If you run several apps, a refused request shows up as missing orders or installs, not as an error you see. Hybrid Workspace puts every Shopify app you ship on one screen, and the API and webhooks guide shows how to watch your apps' events.
Sources
- Restrict API access with an IP allowlist, Shopify developer documentation
- IP allowlists are now required for public apps, Shopify developer changelog, November 5, 2026
- App security updates: IP allowlist is now required, Shopify developer blog, November 2026
- IP allowlists are now required for custom apps installed outside your organization, Shopify developer changelog, November 11, 2026
- App IP allowlists now support apps with serverless hosting, Shopify developer changelog
- Monitoring and logs in the Dev Dashboard, Shopify developer documentation
- Review your app's API logs, Shopify developer documentation
- Webhooks: verify a delivery, Shopify developer documentation