---
title: "Push Edit"
method: POST
path: "/v1/in-context/sessions/{session_id}/edit"
tags: ["in-context"]
---

# Push Edit

`POST /v1/in-context/sessions/{session_id}/edit`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/in-context/sessions/{session_id}/edit`
- Auth: none declared

Dashboard pushes a string edit: persist the target value AND publish it on
the session channel so the paired app applies the override instantly.

## Path parameters

- `session_id` string, required

## Request body

- EditIn
  - `namespace` string
  - `key` string, required
  - `language_code` string, required
  - `value` string, required

## Response `200`

Successful Response

- EditOut
  - `ok` boolean, required
  - `key` string, required
  - `languageCode` string, required
  - `value` string, required
  - `version` integer, required
  - `published` boolean, required

## Other responses

- `422`: Validation Error

---

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