WayspunSign in
Wayspun Docs · Guides & API reference
Early access

Documentation for creators and integrators.

Browse Wayspun's subdomain architecture, deterministic Engine v1 semantics, `/v1/*` REST endpoints, and security boundaries.

Host: docs.wayspun.com

Modular Monolith & Subdomain Surfaces

All Wayspun product surfaces run on a single Next.js web app and NestJS + PostgreSQL RLS Core API.

Subdomain Presentation Routing

Host selection is presentation routing only (`apps/web/src/proxy.ts`), never an authorization decision. Every API route enforces session, permission, and PostgreSQL row-level security checks independently.

wayspun.com        -> Brand & public discovery
explore.wayspun.com -> Public catalogue (/surfaces/explore)
stories.wayspun.com -> Interactive stories (/surfaces/stories)
play.wayspun.com    -> Player runtime (/{slug} -> /play/{slug})
studio.wayspun.com  -> Organization Studio (/studio)
app.wayspun.com     -> Participant dashboard (/surfaces/app)
training.wayspun.com -> Cohorts & assignments (/surfaces/training)
clinical|ospe|osce|assessments.wayspun.com -> Synthetic station hub
admin.wayspun.com   -> Super-admin control & Story Engine
api.wayspun.com     -> Versioned REST API (/v1/*)
01

Core capability

Covers subdomain presentation routing, experience contracts, and Engine v1 execution.

02

Shared foundation

Documents public, participant, Studio, Training, Insights, and Engine REST API routes.

03

Remaining scope

Interactive OpenAPI playground and SDK tutorials remain to be expanded.