DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsSecurityCORS & Allowed Origins
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Notifications
Security
API Key SecurityCORS & Allowed OriginsWebhook SignaturesCustomer DataRate Limiting
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

CORS & Allowed Origins

Configure allowed origins for API requests.

Updated March 29, 2026

On this page
  • Overview
  • Setup
  • Example
  • Next Steps

Overview

CORS (Cross-Origin Resource Sharing) controls which domains can make API requests from the browser. Configure allowed origins in the dashboard.

Setup

  1. Go to Settings → Security
  2. Add your storefront domains to the allowed origins list
  3. Include both development and production URLs

Example

Allowed Origins:
  https://mystore.com
  https://www.mystore.com
  http://localhost:3000
Tip: Include http://localhost:3000 for local development. Remove it before going to production.

See CORS Errors for troubleshooting.

Next Steps

  • Webhook Signatures
  • Customer Data
PreviousAPI Key SecurityNextWebhook Signatures

On this page

  • Overview
  • Setup
  • Example
  • Next Steps