Web Users
Demo access with funnel preferences
Returns a Firebase custom token and modelId for the demo. When Authorization: Bearer <Firebase ID token> is sent (e.g. client anonymous auth), the same Firebase UID is used: existing web_users row is updated with preferences instead of creating a second user. Without a valid token, creates a server-side anonymous Firebase user (legacy). Only ethnicity and age are used to pick among isDemo models: age 18 → young band, 20 or 30 → mid band, 40 → mature band. Body, voice, and temperament are stored on the web user but ignored for matching.
post/v1/web-users/demo/preferences
Request
- Base URLhttps://api.miaai.chat (the document declares no server; this is the origin it was published from)
- URLhttps://api.miaai.chat/v1/web-users/demo/preferences
- AuthHTTP bearer
Headers
authorizationstring required
Request body
Response
Demo initialized with preferences
Changes
No recorded changes to this operation across all 1 revision of this API.