---
title: "Manual input switch"
method: POST
path: "/streams/{code}/switch"
tags: ["streams"]
---

# Manual input switch

`POST /streams/{code}/switch`

## Path parameters

- `code` string, required

## Request body

- ApidocsInputSwitchRequest
  - `priority` integer

## Response `200`

OK

- ApidocsStreamActionData
  - `data` ApidocsStreamActionInner
    - `status` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-05-17** `6027fdc3a192` — 1 info
  - endpoint added
- **2026-05-06** `1950bd2e27eb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/datvietvac-techhub/apis/open-streamer-api/changes/streams/:code/switch/post.md)

---

[API](https://skmtc.dev/datvietvac-techhub/apis/open-streamer-api.md) · [All operations](https://skmtc.dev/datvietvac-techhub/apis/open-streamer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datvietvac-techhub/open-streamer-api/revisions/9f723293b698/schema)
