Skip to content
Maua.Culturewire

UniFi

Ubiquiti networks: consoles, sites, devices and metrics

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Site Manager API keySecretRequired

    Where to find them

    1. At unifi.ui.com open “Settings” → “API Keys” (Site Manager).
    2. Click “Create API Key” and copy the key: it is shown only once.
    3. It gives read access to all the consoles of your account.

    Get credentials (opens in a new tab)

Tools (1)

  • UniFi API requestUNIFI_SEND_REQUEST

    Authenticated call to the UniFi API (https://api.ui.com). Any endpoint of the API is allowed. Examples: GET /v1/hosts, GET /v1/hosts/{id}, GET /v1/sites, GET /v1/devices, GET /ea/isp-metrics/5m?duration=24h, GET /ea/sd-wan-configs.

    Required scopes

    No scopes required

    Input

    UniFi API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.