Getting Started
A comprehensive guide for unifi.ui.com (Site Manager) users to utilize the API effectively
A comprehensive guide for unifi.ui.com (Site Manager) users to utilize the API effectively
Explore the standardized JSON response format for UniFi Site Manager API, including success and error response structures, common error codes, and best practices for error handling
Learn about UniFi Site Manager API versioning policy, including version lifecycle, deprecation guidelines, and best practices for API version management
Retrieves a list of all hosts associated with the UI account making the API call.
Note: The structure of userData
and reportedState
fields may vary depending on the UniFi OS or Network Server version. The example provided is based on UniFi OS 4.1.13.
Retrieves detailed information about a specific host by ID.
Note: The structure of the userData
and reportedState
fields may vary depending on the UniFi OS or Network Server version. The example provided is based on UniFi OS 4.1.13.
Retrieves a list of all sites (from hosts running the UniFi Network application) associated with the UI account making the API call.
Note: The structure of the meta
and statistics
fields may vary depending on the UniFi Network version. The example provided is based on UniFi OS 4.1.13.
Retrieves a list of UniFi devices managed by hosts where the UI account making the API call is the owner or a super admin.
Note: The structure of the devices.uidb
field may vary depending on the UniFi OS or Network Server version. The example provided is based on UniFi OS 4.1.13.
Retrieves ISP metrics data for all sites linked to the UI account’s API key. 5-minute interval metrics are available for at least 24 hours, and 1-hour interval metrics are available for at least 30 days.
Retrieves ISP metrics data based on specific query parameters. 5-minute interval metrics are available for at least 24 hours, and 1-hour interval metrics are available for at least 30 days.
Note: If the UI account lacks access to all requested sites, a 502 error is returned. If partial access is granted, the response will include status: partialSuccess
.
Retrieves a list of all SD-WAN configurations associated with the UI account making the API call.
Retrieves detailed information about a specific SD-WAN configuration by ID.
Retrieves the status of a specific SD-WAN configuration, including deployment progress, errors, and associated hubs.