This is part of the Nuki Bridge API documentation.
Calling the URL https://api.nuki.io/discover/bridges returns a JSON array with all bridges which
have been connected to the Nuki Servers through the same IP address than the one calling the URL
within the last 30 days. The array contains the local IP address, port, the ID of each bridge and the
date of the last change of the entry in the JSON array.
Example:
{
"bridges": [
{
"bridgeId":2117604523,"ip":"192.168.1.50","port":8080,"dateUpdated":"2017-06-14T06:53:44Z"
}
],
"errorCode":0
}
Once a bridge has been discovered on the LAN the API can be activated and the API token retrieved
by calling the /auth
command. The user has to confirm this request by pressing the button on the
bridge. For more details see the description of the /auth
command.
If discovery is disabled via /configAuth
or through the Nuki App, the IP is 0.0.0.0
and the port 0. In
this case the /auth
command fails with HTTP error 403.
See also the HTTP-API overview: