---
title: "Create Demo Session"
method: POST
path: "/demo/create-demo-session"
tags: ["DEMO"]
---

# Create Demo Session

`POST /demo/create-demo-session`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/demo/create-demo-session`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create or retrieve a demo user and generate a temporary session ID.

This endpoint creates a dedicated demo user in the demo tenant for the calling tenant.
Each tenant gets exactly one demo user (1-to-1 mapping) with email: demo@{calling_tenant}.
Returns a session ID that expires in 30 minutes and can be used once to authenticate.

Returns:
    DemoSessionResponse: Contains the demo tenant frontend URL and session ID

## Response `200`

Successful Response

- DemoSessionResponse
  - `demoUrl` string, required
  - `sessionId` string, required

## Other responses

- `404`: Demo tenant not found
- `500`: Failed to create demo session

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
