---
title: "Host-only: approve a pending guest"
method: POST
path: "/session/approve"
tags: ["session"]
---

# Host-only: approve a pending guest

`POST /session/approve`

## Request

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

Returns once the guest is in the room (or after 8 s), so a chat sent next reaches them.

## Request body

- object
  - `tempUserId` string, required

## Response `200`

OK

- object
  - `success` boolean
  - `joined` boolean
  - `userId` string, nullable
  - `username` string

## Other responses

- `404`: No such pending request

---

[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)
