# Authentication

{% openapi src="<https://api.redocly.com/registry/bundle/openhue/openhue/v2/openapi.yaml?branch=main>" path="/api" method="post" expanded="true" %}
<https://api.redocly.com/registry/bundle/openhue/openhue/v2/openapi.yaml?branch=main>
{% endopenapi %}

You absolutely need to press the button on your Hue bridge before calling this endpoint. Otherwise, the response will contain the message `"link button not pressed"`.

This is a security step so that only apps you want to control your lights can. By pressing the button, you prove that you have physical access to the bridge.
