A Shopify access token is a critical credential that grants your applications permission to interact with your Shopify store's data and resources. Whether you're building a custom app, integrating with third-party services, or automating your store operations, understanding how to find and manage your Shopify token is essential. This comprehensive guide walks you through the entire process in 2026.
API scopes define what permissions your access token has. You must request only the scopes your application actually needs, following the principle of least privilege. Here are common scopes:
| Scope | What It Allows |
|---|---|
read_products |
Read product data, including titles, descriptions, prices, and inventory levels |
write_products |
Create, update, and delete products and product variants in your store |
read_orders |
Access order information, customer details, and fulfillment status |
write_orders |
Create and modify orders, including fulfillments and cancellations |
read_customers |
Retrieve customer profiles, email addresses, and purchase history |
Follow these steps to generate your Shopify access token:
Navigate to https://admin.shopify.com and sign in with your account credentials. You must have administrator or staff access with permission to manage apps and channels.
From the admin sidebar, click on "Apps and integrations" or "Apps" (location varies by Shopify version). This is where you'll create or manage your custom applications.
Click the "Create an app" button. You'll be prompted to choose between a custom app or a public app. For most use cases, select "Custom app" if you're integrating for your own store's needs.
Enter a descriptive name for your app (e.g., "Inventory Manager", "Customer Sync Tool"). Then navigate to the "Configuration" or "Admin API" section. Here, you'll define which API scopes your app requires.
Carefully review the list of available scopes and select only those your integration needs. Common combinations include read_products,write_products for inventory management or read_orders,read_customers for analytics. Click "Save" once you've confirmed your selections.
After saving your scope configuration, Shopify will generate your credentials. You'll see your "Admin API access token" displayed on the screen. This is a long alphanumeric string that serves as your authentication credential.
Click the copy button next to your access token and immediately save it in a secure location. Shopify will not display this token again after you leave the page. Store it in environment variables or a secure secrets manager—never hardcode it in your application source code.
Verify that your token works by making a test API call. Use the following curl command, replacing YOUR_STORE_NAME and YOUR_ACCESS_TOKEN with your actual values:
curl -X GET "https://YOUR_STORE_NAME.myshopify.com/admin/api/2024-01/products.json" \
-H "X-Shopify-Access-Token: YOUR_ACCESS_TOKEN"
A successful response will return a JSON object containing your store's products. If you receive a 401 error, verify that your token and store name are correct.
Use your token in your application's API requests by including it in the authorization header. Most SDKs and libraries handle this automatically when you pass the token during initialization.
Periodically review which apps have access to your store. Regenerate tokens annually or immediately after any security incidents. Shopify allows you to revoke tokens at any time from the app management interface.
While the manual process outlined above is straightforward, getshopifytoken.com streamlines token generation and management significantly. The platform automates many steps, providing a guided interface that reduces configuration errors and speeds up API access setup. For teams working with multiple Shopify stores or managing tokens across different projects, using a specialized token management service like https://getshopifytoken.com can save considerable time and improve security through centralized credential management. The service handles scope validation, token storage best practices, and provides documentation for quick integration.
X-Shopify-Access-Token header.Security best practices recommend rotating tokens annually or whenever team members with access leave your organization. Additionally, immediately regenerate tokens if you suspect unauthorized access or have accidentally exposed a token in your codebase or logs.
Technically yes, but it's not recommended. Creating separate custom apps for each integration provides better security isolation and makes it easier to audit which applications have accessed your store. If you must share a token, ensure it's stored securely and consider using environment-specific tokens.
Custom app tokens are static credentials generated in your Shopify Admin, ideal for server-to-server integrations with your own store. OAuth tokens are generated through a user authorization flow, used when building public apps that multiple merchants install. For most single-store integrations, custom app tokens are simpler; OAuth is required for apps distributed in the Shopify App Store.