---
title: "Update Scenario"
method: PATCH
path: "/telephony/{session_id}/scenario"
tags: ["telephony"]
---

# Update Scenario

`PATCH /telephony/{session_id}/scenario`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/telephony/{session_id}/scenario`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `auth/bearer/login`
  - API key in cookie `access_token`

Update the scenario for an active streaming session.

This allows changing the scenario mid-call, which will affect
subsequent transcript messages sent to the orchestrator.

Args:
    session_id: Session ID for this call
    scenario: New scenario identifier

## Path parameters

- `session_id` string, uuid, required

## Query parameters

- `scenario` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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