---
title: "Upload files to the Playground"
method: POST
path: "/api/playground"
tags: ["Playground"]
---

# Upload files to the Playground

`POST /api/playground`

Saves one or more uploaded files to the specified Playground folder.
Returns 200 with `task_id` if a server restart is needed, or 204 if not.
Requires `admin`, `developer`, or the `playground_control` permission.

## Response `200`

Files saved; server restart initiated.

- TaskId
  - `task_id` string, required — Opaque identifier that can be passed to a status endpoint.

## Other responses

- `204` — Files saved; no restart needed.
- `400` — Bad request.
- `403` — Access denied.

---

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