CONTROL4 UNIFI: Setup API keys correctly to avoid Error 401 / Unauthorised Error

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
  1. This can be done by logging into the UniFi Controller and navigating to Settings > Control Plane > Integration
  2. 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: Unifi Access Quick Setup

      The UniFi access integration enables basic control of doors and intercoms. Install all of the drivers It is recommended to use Drivers => Add Or Update Driver or Agent to install the drivers Use Ctrl+A or use the mouse to install and update all C4z ...
    • Control4 Unifi Protect: Quick Setup Guide

      The UniFi Protect driver provides a custom interface for managing UniFi Protect Recordings, cameras, sensors, and viewports. Intercoms are also set up via UniFi Protect. PLEASE NOTE: THE UNIFI PROTECT INTERFACE TO VIEW RECORDINGS IS EXPERIMENTAL AND ...
    • 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 Access V2 Intercom

      Control4 UniFi: Manual Setup of UniFi Access Intercom Device It is strongly recommended to use Auto Setup to correctly configure and add new devices instead of Manual Setup UniFi Protect Intercom V1 is Deprecated. Ensure you are using UniFi Access ...