Generate Phillips Hue API token

Posted on by Wim Mostmans
Phillips Hue lamps coloring living area

If you want to start to do some experimenting with your Phillips Hue lights chances are that you’ll need to use the Hue API sooner or later. To use this API you will need to get a token but at the moment there is no official way to do this.

You can do it as follows:

Phillips Hue API debugger

    [
        {
            "success": {
                "username": "7fbb0cd252f3787c2b81892b03d8a9"
            }
        }
    ]

Example usage

curl -X PUT --data '{"bri":42}' http://<bridge ip address>/api/<username>/lights/1/state
Tip jar

Tip Jar

If you like this blog, leave a tip! Your tip will help provide the basic necessities which sustain this blog: coffee, beer and raincoats for surviving the pitiful Belgium climate.

Buy me a coffee
Wim Mostmans

About Wim Mostmans

Freelance full stack developer and Co-founder of the Employee Advocacy platform Ambassify, with a general interest for web technologies and electronics.

Leave a comment