---
title: "Add an object to the localplay server"
method: POST
path: "/localplay/add"
tags: ["Playback Control"]
---

# Add an object to the localplay server

`POST /localplay/add`

## Query parameters

- `filter` string, required
- `type` 'song' | 'video' | 'podcast_episode'
- `clear` 0 | 1

## Response `200`

Localplay response

- object

## Other responses

- `400` — Ampache API error response payload.

## Changes

- **2026-07-11** `2db906b9afb1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/localplay/add/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/aff89ca1eeff/schema)
