---
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.

---

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