---
title: "Update both text fields without changing ownership"
method: POST
path: "/v2/call-agent-scenarios/{call_agent_scenario_id}"
tags: ["call-agent-scenarios"]
---

# Update both text fields without changing ownership

`POST /v2/call-agent-scenarios/{call_agent_scenario_id}`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/call-agent-scenarios/{call_agent_scenario_id}`
- Auth: HTTP bearer

Update both text fields without changing ownership.

## Path parameters

- `call_agent_scenario_id` string, required

## Request body

- UpdateCallAgentScenarioSchema: POST updates require both text fields, matching the existing editor contract.
  - `response` string, required: What the agent should say in response to the scenario.
  - `scenario` string, required: An example scenario of what the end user would say.

## Response `200`

Successful Response

- CallAgentScenarioSchema
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, nullable, required
  - `id` string, required
  - `response` string, required: What the agent should say in response to the scenario.
  - `scenario` string, required: An example scenario of what the end user would say.
  - `object` string, required: String representing the object's type. Objects of the same type share the same value.

## Other responses

- `422`: Validation Error

---

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