Demo
Start a demo session
Email-gated demo entry point. Validates the email, signs a short-lived demo JWT, and captures the lead. IP-based rate limiting prevents abuse. Returns a token for subsequent demo API calls.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/demo/start" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{
"token": "string",
"expiresAt": 0,
"returning": true,
"conversationCount": 0
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}