---
title: "Update Session Context"
method: PATCH
path: "/v1/embed/sessions/{session_id}/context"
tags: ["embed"]
---

# Update Session Context

`PATCH /v1/embed/sessions/{session_id}/context`

Merge additional context into an existing session and regenerate its join token.

Call this from the client side when context is only available at open() time
(i.e. when using the advanced sessionId flow). Must be called before the user
joins the room — the updated context is baked into the regenerated join token.

## Path parameters

- `session_id` string, required

## Request body

- SessionContextUpdate
  - `context` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
