| API | Protocol | Base URL | Docs | Reference | OpenAPI | SDKs |
|---|---|---|---|---|---|---|
| LIFX HTTP API | rest | https://api.lifx.com/v1 | link | — | — | — |
Actions (21)
Lights · 18
- Breathe effectPOST /v1/lights/{selector}/effects/breathe
Start a breathe animation on the light.
documented - CleanPOST /v1/lights/{selector}/clean
Apply the cleaning routine to clean-capable LIFX devices.
documented - CloudsPOST /v1/lights/{selector}/effects/clouds
Clouds-style breathing effect.
documented - CyclePOST /v1/lights/{selector}/cycle
Cycle the light through the next/previous state in a predefined list.
documented - Flame effectPOST /v1/lights/{selector}/effects/flame
Run a flame animation on the light.
documented - List lightsGET /v1/lights/{selector}
Retrieve information about the LIFX lights matching the selector.
⚡ superfastdeveloped - List lights (infrared-capable)GET /v1/lights/{selector}
Retrieve light information to determine infrared support.
documented - MorphPOST /v1/lights/{selector}/effects/morph
Morph the light colors/appearance over time.
documented - Move effectPOST /v1/lights/{selector}/effects/move
Start a move/positioning effect on the light.
documented - PulsePOST /v1/lights/{selector}/effects/pulse
Pulse animation on the light.
documented - Set infrared statePUT /v1/lights/{selector}/state
Set infrared state for IR-capable lights.
documented - Set statePUT /v1/lights/{selector}/state
Set the color, brightness, and other state parameters for the specified light(s).
documented - Set statesPUT /v1/lights/states
Set multiple states across multiple selectors in a single request.
documented - State deltaPOST /v1/lights/{selector}/state/delta
Apply a delta to the light state (incremental color/brightness changes).
documented - SunrisePOST /v1/lights/{selector}/effects/sunrise
Sunrise effect animation.
documented - SunsetPOST /v1/lights/{selector}/effects/sunset
Sunset effect animation.
documented - Toggle powerPOST /v1/lights/{selector}/toggle
Toggle the power state of the specified light(s).
documented - Turn off effectsPOST /v1/lights/{selector}/effects/off
Turn off any running effects on the light.
documented