Skip to main content
Triggr works with one UniFi console’s sites, devices (including restarts and PoE power-cycles), connected clients and guest access, and hotspot vouchers. To monitor every console on a UI account at once, use UniFi Site Manager. Triggr connects one of two ways; the two kinds of key aren’t interchangeable, and both need UniFi Network 9.3 or later.
  • Remote: a Site Manager key and Console ID (remote). Ubiquiti’s cloud relays requests, so nothing is opened on the client’s network. Needs UniFi OS 5.0.3 or later.
  • Local: a key from the console and Console URL (local). The console must be reachable from the internet over HTTPS.

Set up UniFi

1

Create a Site Manager API key

At unifi.ui.com, signed in with the account that owns the console or your organisation’s account, go to Settings → API Keys, select Create New API Key and copy the key. Ubiquiti shows it only once. A personal account’s key only reaches consoles that account owns.
2

Find the console ID

Run List Hosts in UniFi Site Manager and copy the host’s id, or copy the part after /consoles/ in the console’s address on unifi.ui.com. Include the colon and the digits after it, as in 900A6F003011…:123456789.
See Ubiquiti’s Site Manager getting started guide.

Connect it in Triggr

1

Open the configuration

Go to Integrations > UniFi Network and click Configure on the Base Configuration card.
The Base Configuration card with Status Not Configured, Admin Consent Not Required and a Configure button.
2

Enter the key and console

Enter the API Key, then fill in only one of Console ID (remote) or Console URL (local): the console’s public address with https:// and any non-443 port, such as https://unifi.example.com:8443, with no path. If both have a value, Triggr uses Console ID (remote). For a local console with a self-signed certificate, turn on Allow insecure TLS. Click Save Configuration.
The UniFi Network configuration window with API Key, Console ID (remote) and Console URL (local) fields, an Allow insecure TLS switch under Advanced, and a Save Configuration button.

Set up each client

Per-client integrations never fall back to the Base Configuration, so click Configure on each client’s row and enter its API Key and console ID or URL. Clients under one UI account or organisation can share a Site Manager key with a different Console ID (remote).
The Per-Client Configuration card listing Acme Corp and Globex, each Not Configured with Admin Consent Not Required and a Configure button.

Use the actions

Run List Sites first: every other action except Get Application Info needs a site id. Device, client and voucher actions also need the ID from their list action. Actions that change something take a JSON body: Ubiquiti’s Network API reference lists the optional fields.

Troubleshooting

Configure the client on the Per-Client Configuration card, with either a Console ID (remote) or a Console URL (local).
The configuration the workflow used has both fields blank. If the workflow ran for a client, fill in that client’s configuration, not the base one.
Match the key to the field, and clear the field you don’t use. A remote 403 means the key’s account can’t reach the console.
Ubiquiti’s cloud connector ends requests after 25 seconds and allows 100 requests a minute per console. For a 502, check the console is online and Console ID (remote) includes the part after the colon.
Console URL (local) must be a public address, not one such as 192.168.x.x, with HTTPS forwarded and Triggr’s IP addresses allowed. For certificate errors, turn on Allow insecure TLS.