---
title: "Get a light by ID"
method: GET
path: "/api/lights/{id}"
tags: ["Lighting"]
---

# Get a light by ID

`GET /api/lights/{id}`

## Path parameters

- `id` string, required

## Response `200`

Found

- Light
  - `id` string
  - `name` string, required
  - `jack` string
  - `enable` boolean
  - `channels` object — Map of channel index to channel config

## Other responses

- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/reef-pi/apis/reef-pi-api.md) · [All operations](https://skmtc.net/reef-pi/apis/reef-pi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reef-pi/reef-pi-api/revisions/85b870dc1814/schema)
