---
title: "Add media to the localplay server"
method: POST
path: "/localplay/{object_id}"
tags: ["Playback Control"]
---

# Add media to the localplay server

`POST /localplay/{object_id}`

## Path parameters

- `object_id` string, required

## Query parameters

- `command` 'add', required
- `type` 'song' | 'video' | 'podcast_episode' | 'channel' | 'broadcast' | 'democratic' | 'live_stream'
- `clear` 0 | 1

## Response `200`

Localplay response

- object

## Changes

- **2026-02-19** `07f53972fdd7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/localplay/:object_id/post.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/eea2ec5b84be/schema)
