---
title: "Run a named command, passing its arguments as a JSON array in the body."
method: POST
path: "/api/command/{command}"
tags: ["command"]
---

# Run a named command, passing its arguments as a JSON array in the body.

`POST /api/command/{command}`

An argument may contain `%VAR:name%` to substitute a User Variable's current value, as anywhere else a command's arguments are given. No encoding is needed here, unlike the GET form above. An unset variable substitutes as an empty string.

## Request body

- unknown[]
  - unknown

## Response `200`

Command result.

## Other responses

- `500` — The command errored or timed out.

## Changes

- **2026-05-30** `76b02501e0ae` — 1 info
  - endpoint added
- **2026-05-13** `34a577bdabff` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/command/:command/post.md)

---

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