List guest authorizations
unifi_list_guest_authorizationsLists guest portal and hotspot authorizations, newest first, returning client MAC/IP, method, voucher code, start/end times, bytes, and expired status for a chosen lookback window.
Instructions
List guest portal/hotspot authorizations, newest first (default last 168 hours): client MAC and IP, method, voucher code, start and end, bytes and expired flag.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_list_guest_authorizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name/ID as used in the API (e.g. 'default'). Defaults to the configured site. See unifi_list_sites. | |
| hours | No | Look back this many hours (default 168) | |
| limit | No | Maximum items to return (default 100) | |
| fields | No | Only return these fields per item (dot paths, e.g. uplink.name) | |
| search | No | Case-insensitive substring match on names, MACs, IPs and similar |