Logo
Program smart lights API Documentation

API for Philips Hue

Number of APIs: 24


The Philips Hue API Collection allows developers to control Philips Hue smart lights. It offers various functions, such as changing the color, brightness, and saturation of the lights. The API also supports the creation of schedules and timers for the lights.

Step 1: First make sure your bridge is connected to your network and is functioning properly.

Step 2: Then you need to discover the IP address of the bridge on your network.

Okay now that you have a username with permission to use the Philips system, lets start having some fun with these APIs!

Reference: https://developers.meethue.com/develop/get-started-2/


1. Lights - Put Light State

PUT http://{{ip}}/api/{{username}}/lights/2/state



2. Lights - Get All Lights

GET http://{{ip}}/api/{{username}}/lights



3. Bridge Config - Put Config

PUT http://{{ip}}/api/{{username}}/config



4. Bridge Config - Get Config

GET http://{{ip}}/api/{{username}}/config



5. Sensor - Create Sensor

POST http://{{ip}}/api/{{username}}/sensors



6. Lights - Delete Light From Bridge

DELETE http://{{ip}}/api/{{username}}/lights/6



7. Group - Get All Groups

GET http://{{ip}}/api/{{username}}/groups



8. Group - Get Group Details

GET http://{{ip}}/api/{{username}}/groups/0



9. Group - Create Group

POST http://{{ip}}/api/{{username}}/groups



10. Group - Update Group State

PUT http://{{ip}}/api/{{username}}/groups/1/action



ENDPOINTS