List hotspot vouchers
unifi_list_vouchersLists UniFi hotspot vouchers with code, note, duration, quota, usage, status, rate and data limits, and creation time to audit or manage guest access.
Instructions
List hotspot vouchers with code, note, duration, quota and times used, status, rate and data limits, and creation time. For who redeemed them use unifi_list_guest_authorizations.
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_vouchers"
}
}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. | |
| limit | No | Maximum items to return (default 200) | |
| 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 |