Web Users

Initialize demo access

Selects a demo model based on funnel answers, pre-creates an anonymous user, and returns a Firebase custom token for authentication.

post/v1/web-users/demo/init

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/web-users/demo/init
  • Auth
    HTTP bearer

Request body

webUserIdstring required

Web user ID from the funnel

Response

Demo initialized successfully

firebaseCustomTokenstring required

Firebase custom token for anonymous auth

modelIdstring required

Selected demo model ID

Changes

No recorded changes to this operation across all 1 revision of this API.