---
title: "gpio/{pin}"
method: GET
path: "/api/gpio/{pin}"
tags: ["gpio"]
---

# gpio/{pin}

`GET /api/gpio/{pin}`

Read the last value set on a GPIO pin via the API/commands. Only pins with a cached value can be read; output pins must be SET before they can be read.

## Response `200`

Object with `pin` and `value` (0 or 1).

## Other responses

- `400` — The pin has no cached value.

---

[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/versions/6fa524e15dd4/schema)
