---
title: "Create a new session (you become host)"
method: POST
path: "/session/start"
tags: ["session"]
---

# Create a new session (you become host)

`POST /session/start`

## Request

- Base URL: `http://127.0.0.1:3822`
- URL: `http://127.0.0.1:3822/session/start`
- Auth: none required

## Request body

- object
  - `sessionName` string
  - `roomSecret` string: Optional shared secret mixed into every key — never sent to the server. A member who joins with a different secret cannot read chat or files.
  - `username` string: Display name in the session

## Response `200`

OK

- object
  - `success` boolean
  - `sessionId` string
  - `joinUrl` string: Browser join page for this session on the server the daemon uses

---

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