Demo API reference
Try the fictional data and validation endpoints.
Demo API reference
GET /api/demo/bootstrap
Returns the full reproducible workspace, including campaigns, leads, members, documents, threads, support tickets, performance samples, activity, and notifications. No authentication is required.
POST /api/demo/campaigns/save
Accepts a record plus context with memberIds and campaignIds. Returns the validated campaign. The same pattern is used by leads/save, documents/save, tickets/save, and settings/save.
POST /api/demo/chat/message
Accepts threadId, memberId, replyMemberId, content, and reference context. Returns the sent message and a scripted teammate reply.
POST /api/demo/auth/:action
Supports login, signup, forgot-password, and reset-password. Returns a fictional profile or demo recovery result. Passwords are never returned.
Errors and ownership
Invalid requests return HTTP 400 with readable validation errors. Unknown account actions return 404. Handlers do not retain visitor edits; a later bootstrap always returns the seed. Reference context supports browser-created records without shared server memory.