CONTROL4 UNIFI: Setup API keys correctly to avoid Error 401 / Unauthorised Error
Important Notice
UniFi Access doesn't use the same API Key as UniFi Protect/Network. Keys created for Protect / Network will not work. If the incorrect key is used, you will get a 401 / Unauthorised error in API Connection Status
Setting Up UniFi Network / Protect Keys
Please note, this key will not work in UniFi access
- This can be done by logging into the UniFi Controller and navigating to Settings > Control Plane > Integration
- Create an API Key which never expires and copy the number. Drivers will require this key
Setting Up UniFi Access Key
This key will show Unauthorised / 401 error in UniFi Network / Protect. To Set up the API key suitable for UniFi Access
1. In Access, navigate to Settings > General
2. Create an API token which never expires, and copy the key. This will be required by the driver
Related Articles
CONTROL4 UNIFI: Login Connection Status Unauthorized (Error 401 / Error 403)
If Login Connection Status in UniFi Access / Protect / Network shows Unauthorized, this could be caused by a few things: Ensure your UniFi Controller is running the latest firmware Ensure the Server IP, Username, Password and port is entered ...
Control4 Shelly: Obtaining An API Key
Benefits of Shelly Cloud To facilitate Setup of Shelly, it is recommended to use our Shelly Agent and setup Shelly Cloud. This provides fast setup of devices, IP self-healing and better handling of sleepy devices. Chowmain's Shelly Driver suite will ...
Control4 UniFi: Manual Setup of UniFi Network Device
Control4 UniFi: Manual Setup of UniFi Network Device It is strongly recommended to use Auto Setup to correctly configure and add new devices instead of Manual Setup Ensure that UniFi Network Controller has been added to project and is correctly ...
Control4 UniFi Protect / Access / Network: Receiving Custom Webhooks
This guide describes how to trigger actions in control4 based on custom UniFi Webhooks. This can be used to perform actions based on advanced UniFi triggers which may not be handled directly. Procedure The Chowmain UniFi Drivers must be 20251215 or ...
CONTROL4 UNIFI: Setting up Local Account / Login for Authentication
It is strongly recommended to set up a local login for UniFi Control. Whilst the UniFi API Key cannot be shared between Access and Protect/Network, the UniFi Login can. We use a combination of both login and API key to provide the best combination of ...