---
title: "Initialize demo access"
method: POST
path: "/v1/web-users/demo/init"
tags: ["Web Users"]
---

# Initialize demo access

`POST /v1/web-users/demo/init`

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

## Request body

- InitDemoDto
  - `webUserId` string, required — Web user ID from the funnel

## Response `200`

Demo initialized successfully

- InitDemoResponseDto
  - `firebaseCustomToken` string, required — Firebase custom token for anonymous auth
  - `modelId` string, required — Selected demo model ID

## Other responses

- `400` — Web user missing Firebase UID
- `404` — Web user or demo model not found

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
