Voucher management requires the guest portal on your site to be configured with
auth_method set to voucher. See the RADIUS and guest portal tools reference for portal configuration.Tools
list_vouchers
Returns all hotspot vouchers for a site. Supports pagination and optional filtering to narrow results by status or expiry.
string
required
The site identifier.
integer
Maximum number of vouchers to return per request.
integer
Number of vouchers to skip, for paginating through large sets.
string
A filter expression to narrow results (e.g., filter by note or status).
Example response
get_voucher
Returns the details of a single voucher by its ID.
string
required
The site identifier.
string
required
The voucher identifier.
create_vouchers
Creates one or more vouchers in a single call. All vouchers created in a batch share the same settings.
string
required
The site identifier.
integer
required
How many vouchers to generate. Use
1 for a single code, or a higher number to generate a batch (e.g., for a conference).integer
required
How long each voucher grants access, in seconds. For example:
3600 = 1 hour, 86400 = 1 day, 604800 = 7 days.integer
Upload speed cap per voucher user, in kilobits per second. Omit for unlimited upload.
integer
Download speed cap per voucher user, in kilobits per second. Omit for unlimited download.
integer
Total upload data allowed before the voucher expires, in megabytes. Omit for unlimited.
integer
Total download data allowed before the voucher expires, in megabytes. Omit for unlimited.
string
An administrative label attached to all vouchers in this batch (e.g.,
"Staff training day 2025-11-15"). Helpful for bulk deletion later.boolean
required
Must be
true to create the vouchers.boolean
When
true, returns the payload that would be submitted without creating any vouchers.Example response
delete_voucher
Permanently deletes a single voucher by its ID. If a guest is currently using the voucher, they will lose access.
string
required
The site identifier.
string
required
The ID of the voucher to delete.
boolean
required
Must be
true to delete the voucher.boolean
Preview the deletion without applying it.
bulk_delete_vouchers
Deletes all vouchers that match a filter expression. Use this to clean up expired or event-specific batches.
string
required
The site identifier.
string
required
A filter expression that selects the vouchers to delete (e.g., filter by
note to target a specific batch).boolean
required
Must be
true to execute the bulk deletion.boolean
Preview which vouchers would be deleted without removing them.