DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsSite Keys & Client SitesOverview
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
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
OverviewSite keysThe /api/site surfaceThe insights beaconCDN buildsThe powered-by badgeBuilding a paired site SDK
Use Cases
Operations

Overview

A platform runs many client sites; each gets its own narrow, revocable slice.

Updated July 26, 2026

On this page
  • The problem this solves
  • The shape
  • What a client site can do

The problem this solves

An agency-style platform runs many client websites. Giving every site the platform key would mean one compromised site exposes every client, and offboarding a churned client means rotating everything. So sites get their own keys, reaching their own surface.

The shape

Platform
  └─ website record (the site, in the fleet)
      └─ dfd-site-secret-key-live-…   server-side, full site surface
      └─ dfd-site-public-key-live-…   browser-safe, read-only + lead/form submits, origin-locked
          └─ /api/site/*              whoami, content, files, products, categories,
                                      locations, forms, leads, insights, cdn
  • The "site" is a website record — fleet data the platform already manages — so keys hang off that record rather than a second site table, and deleting the site kills its keys.
  • Keys are scoped to the site's customer, so site-surface reads see that client's slice (plus deliberately shared pools like brand assets).
  • A site key can never call the platform dashboard API — the namespace reaches /api/site/* only.

What a client site can do

AreaCapability
ContentManaged copy and blog posts edited in the dashboard; site-specific rows beat shared ones.
FilesThe site's file slice + shared brand assets, by stable label, as plain CDN URLs.
CatalogActive products and categories (display-only), site-scoped with a shared pool.
LocationsThe client's business profile: name, addresses, per-location labeled files.
Forms & leadsFetch dashboard-built forms by key; submit forms and contact-form leads (validated, throttled, honeypotted).
InsightsSend the first-party analytics beacon.
CDNDeploy its own static assets (manifest / upload / activate / status).
whoamiSite, customer, platform, environment, modules.
PreviousHoneypots & rate limitingNextSite keys

On this page

  • The problem this solves
  • The shape
  • What a client site can do