← Guides

How to set up the Shopify app IP allowlist with a static IP

Shopify now asks every public app, and custom apps installed outside your organization, to list the IP addresses allowed to use its Admin API tokens. If your app runs on serverless or shared hosting, it has no fixed address to list. Here are the real options, the deadlines, and a setup we tested on a development store: one call blocked with 403, the same call through a static IP accepted.

Updated 2026-12-03 · 9 min read

Who needs it, and by when

The allowlist limits which addresses can use your app’s access tokens for GraphQL and REST Admin API requests. There is one list per app, and it applies to every store where the app is installed. It is not part of shopify.app.toml, and saving it takes effect without a new app version.

Requests from an address outside the list fail with 403. So do requests whose source address Shopify cannot confirm. Dates from Shopify’s changelog, checked on 2026-12-03:

Shopify IP allowlist deadlines
DatePublic appsCustom apps installed outside your organization
Nov 12, 2026 Bulk queries and mutations blocked without an allowlist
Nov 20, 2026 Delisted from the App Store, new installs blockedRequired for new installs
Jan 1, 2027 Required for existing installs too
Jan 15, 2027 Merchants see a warning in the Shopify admin
Apr 1, 2027 Admin API requests fail
Apps installed only on stores in your own organization are not required to have a list, but Shopify recommends one. Limits: up to 250 addresses or ranges (IPv4 /16 or narrower, IPv6 /32 or narrower) and up to 10 ASNs.

Your options

Get the static IP and a proxy URL

Only the Admin API calls need to leave from the fixed address. For a production app, use two servers in two cities and list both IPs, so one server going down does not stop your API calls. One server is one machine. MazeVPN’s Business plan has two IPs in two regions; Solo and Team have one.

Request route through your static IP Shopify app server your code proxy (HTTPS) Your server 203.0.113.42 from 203.0.113.42 Partner API / DB allows 203.0.113.42
Only the calls you send through the proxy use your static IP. Every other request goes out directly, as before.
  1. Log in to the client area, open My Services and click your server. Scroll to Use your IP from code, n8n, CI or a browser. Under Add a proxy user, type shopify and click Add.
    You should see: a new card named app-shopify. Names can use letters and digits only, and MazeVPN adds the app- prefix.
  2. On that card, click Copy next to HTTPS proxy (marked Encrypted). The copied URL contains the password, so paste it only into a secret or environment variable, never into code.
    MazeVPN client area: the card of proxy user app-ci with its HTTPS, HTTP and SOCKS5 proxy URLs and Copy buttons
    The card of a new proxy user. The eye icon shows the password; Copy copies the full URL with the password. (Server IP replaced with an example.)
    You should see: a URL like https://app-shopify:…@203.0.113.42:443, where the address is your server’s IP.
  3. Store the URL as a server-side secret called MAZE_PROXY_URL on your host. Never put it in the app’s frontend or in an extension.
  4. Check the address the proxy gives you:
    curl -s --proxy "$MAZE_PROXY_URL" https://ifconfig.me/ip; echo
    You should see: your server’s IP (the Host shown in the client area). This is the address you will allowlist.

Route the Admin API calls through the proxy

Node apps built on @shopify/shopify-api (also used by Shopify’s app templates) make their requests with Node’s fetch. Set an Undici proxy dispatcher once, when the server starts, before any Admin API call. We tested this with @shopify/shopify-api 15.1.3 and Undici 8.14 on Node 26.

// Server-only code that runs once at startup, for example next to your shopifyApp() setup.
// npm install undici
import tls from 'node:tls';
import { ProxyAgent, setGlobalDispatcher } from 'undici';

const proxyUrl = process.env.MAZE_PROXY_URL; // https://USER:PASS@203.0.113.42:443
const { hostname } = new URL(proxyUrl);

// The proxy is reached by IP: send a placeholder TLS name and verify the certificate against the IP.
setGlobalDispatcher(new ProxyAgent({
  uri: proxyUrl,
  proxyTls: {
    servername: 'proxy.invalid',
    checkServerIdentity: (_name, cert) => tls.checkServerIdentity(hostname, cert),
  },
}));
A global dispatcher sends every fetch of that process through the proxy, not only Shopify calls. To proxy only Shopify, pass a dispatcher to the requests you make yourself instead (see the Node.js proxy guide). Without code changes, Node’s NODE_USE_ENV_PROXY=1 with HTTPS_PROXY set to the HTTP proxy URL (port 3128) also worked in our test; it did not work with the HTTPS proxy URL, because Node refuses an IP address as the TLS server name. The HTTP proxy sends the proxy password unencrypted to your server; the Shopify request itself stays encrypted.

Python (requests)

Pass the proxy URL to the requests that call Shopify. Tested with the HTTPS proxy URL.

import os
import requests

shop = 'your-store.myshopify.com'
token = os.environ['SHOPIFY_ACCESS_TOKEN']
proxies = {'https': os.environ['MAZE_PROXY_URL']}

r = requests.post(
    f'https://{shop}/admin/api/2026-10/graphql.json',
    json={'query': '{ shop { name } }'},
    headers={'X-Shopify-Access-Token': token},
    proxies=proxies,
    timeout=20,
)
print(r.status_code, r.json())

Turn on the allowlist in the Dev Dashboard

  1. Deploy the proxy change first and let your app make a few Admin API calls. Then open your app in the Shopify Dev Dashboard (dev.shopify.com), click Settings, and click Manage next to IP allowlist.
    Shopify Dev Dashboard app Settings: Credentials section with the client ID blurred, and the IP allowlist row with the Manage button
    Dev Dashboard → your app → Settings. The IP allowlist row is under Credentials. (Client ID blurred.)
  2. Keep Allow listed IPs and networks selected. In IP addresses or CIDR ranges, enter your server’s IP, one per line (both IPs on Business). Leave Networks (ASN) empty.
    Shopify Dev Dashboard IP allowlist page: Enforce IP allowlist switched on, Allow listed IPs and networks selected, 203.0.113.42/32 in IP addresses or CIDR ranges, empty Networks (ASN) field and the Run test button
    One IP with /32, no ASN. Run test is at the bottom; Save is at the top right of the page. (Server IP replaced with an example.)
  3. Before you enforce anything, click Run test under Test against recent traffic. It checks your list against the last 30 days of Admin API calls; recent calls can take a few minutes to appear.
    You should see: no blocked addresses, or only ones you know you no longer use. In our test, calls made without the proxy from a home connection showed up as an IPv6 address, even though an IP check site showed IPv4. Shopify sees whichever address your server uses to reach it, so trust Run test over an IP check.
  4. Turn on Enforce IP allowlist, click Save, then Save changes in the dialog.
    You should see: the status Enabled next to the page title, and the address saved with /32. No new app version is needed.

Test: one call blocked, one accepted

  1. Make the same Admin API call without the proxy and with it:
    Q='{"query":"{ shop { name } }"}'
    URL="https://$SHOP/admin/api/2026-10/graphql.json"
    # without the proxy
    curl -s -X POST "$URL" -H "X-Shopify-Access-Token: $TOKEN" -H 'Content-Type: application/json' -d "$Q"; echo
    # through your static IP
    curl -s --proxy "$MAZE_PROXY_URL" -X POST "$URL" -H "X-Shopify-Access-Token: $TOKEN" -H 'Content-Type: application/json' -d "$Q"; echo
    You should see: the first call returns HTTP 403 with [API] This app's IP restrictions don't allow requests from … and your other address; the second returns {"data":{"shop":{"name":…}}}. We got the same result with REST (/admin/api/2026-10/shop.json), the HTTP proxy on port 3128 and SOCKS5 (socks5h://, port 1080).
  2. Watch your app’s logs for 403 responses for a day, especially from background jobs and webhook handlers that call the Admin API.

Official references

Skip the setup

A dedicated IPv4 in 38 cities, usually ready about 3 minutes after payment. Connect devices with WireGuard and apps with an authenticated HTTPS, HTTP, or SOCKS5 proxy. From $9.99/month.

FAQ

Questions, answered.

Something else? Open a ticket, a human replies.

Can I test the allowlist on a development store? +

Yes, but not with `shopify app dev`: Shopify never rejects dev preview requests on dev stores. Install a released app version on the dev store, as we did, and the allowlist applies.

Does getting the access token need the static IP? +

Shopify documents the allowlist for GraphQL and REST Admin API requests. In our test, the token request (client credentials grant) worked from an address that was not on the list, and only the Admin API call was blocked. Sending it through the proxy as well does no harm.

What is never blocked, and what never works? +

Never rejected: dev preview requests on dev stores, and direct API access from embedded app pages, admin UI extensions and POS UI extensions. Always rejected with an allowlist: tokens used by Shopify Flow’s Send HTTP request action and Admin API calls from an Oxygen-hosted storefront.

My app runs on Cloudflare Workers. Does this work? +

Not with this method. Workers’ fetch has no proxy setting. Use Shopify’s ASN option with country limits, or move the Admin API calls to a server or function that can use a proxy.

Do incoming webhooks need the static IP? +

No. Webhooks are requests from Shopify to your app. The allowlist only checks requests your app makes to the Admin API with its tokens.

What does MazeVPN cost for this? +

Business is $39 a month with two dedicated IPv4 addresses in two regions, the setup we recommend for a production app. Solo is $9.99 with one IP. There is no request cap; each plan has a monthly transfer allowance. See the pricing page.

More guides