Skip to content

Migrate to new Network Application API #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
michaelolson opened this issue Mar 14, 2025 · 2 comments
Closed

Migrate to new Network Application API #504

michaelolson opened this issue Mar 14, 2025 · 2 comments

Comments

@michaelolson
Copy link

The UniFi Network Application 9.0.108 release introduced the Network Application API, which seems to be the supported path forward for API access to the controller.

I would expect long term integrations will want to be moving towards the new officially supported API instead of relying on the previously observed internals, at least once feature parity is reached. The Getting Started with the Official UniFi API page provides a link on where to find the API docs. The API docs are, interestingly, not hosted in an obvious location online, but instead local to the controller:

To access the localized Network API documentation (specific to your UniFi Network version), navigate to UniFi Network > Settings > Control Plane > Integrations. This includes a variety of capabilities including:

  • UniFi devices (e.g., access points, switches, and gateways)
  • Client activity (e.g., connected devices, usage statistics)
  • Traffic insights (e.g., bandwidth consumption, network trends)

Parity with the existing internal access is an open question, but much of the needed data on clients is available through the API already. The API relies on API keys instead of usernames and passwords, which is an interesting delta that might make some of these integrations simpler. Each API key is bound to the user who created it, so provisioning an appropriately permissioned user is still important.

@joshuaspence
Copy link
Collaborator

Thanks, this is being tracked in paultyng/go-unifi#240

@michaelolson
Copy link
Author

Thanks for the redirect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants