Getting started

1. Create a workspace
Set up your tenant and project structure before generating production keys.
2. Subscribe a project
Activate a plan per project so billing state can govern access independently.
3. Generate a key
Issue sandbox, staging, or production keys according to project policy.

Authentication example

curl https://doubleoneapi.com/api/v1/products \
  -H "X-API-Key: d1_live_x29...7ha" \
  -H "X-Project-Environment: production"

Validation model

Key validity and active status
Project and tenant relationship checks
Subscription state and grace period logic
Scope and plan-based endpoint access
Rate limits and usage enforcement

Scopes

content:read
Published content pages and related metadata.
products:read
Catalog, pricing, and product content delivery.
media:read
Managed media references and asset metadata.
stories:read
Client stories and social proof records.
webhooks:write
Programmatic delivery and external event subscriptions.

Documentation roadmap

Endpoint reference by version and scope
Interactive console with sandbox credentials
Webhook event catalog and integration patterns