---
title: "Run a command by name via GET, passing arguments as extra path segments (e.g. /api/command/Volume%20Set/50)."
method: GET
path: "/api/command/{command}"
tags: ["command"]
---

# Run a command by name via GET, passing arguments as extra path segments (e.g. /api/command/Volume%20Set/50).

`GET /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. Percent-encode it as `%25VAR:name%25`: sent raw, `%VA` is an invalid escape and Apache rejects the request with a 400 before it reaches FPP. An unset variable substitutes as an empty string. Note that empty path segments collapse, so an argument that should be empty cannot be passed this way - use the POST form below for that.

## Response `200`

Command result (text/plain).

## Other responses

- `404` — No command with that name exists.
- `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)
