AccessTokens
Create AccessToken
Create a new AccessToken record.
POST
Create AccessToken
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
WiFi Access Tokens provide unique network access codes for customers and visitors. They work alongside the Mikrotik, IronWifi, and Layer8 integrations. Access tokens can be shared with customers and visitors as part of visitor and booking confirmation emails. Each token includes a number of minutes of WiFi access and, optionally, an expiration date and user limit.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the AccessToken-Create role.Request Body
Required Fields
Business Id.
Unique network access code used to connect to WiFi.
Total minutes of WiFi access included in this token.
Optional Fields
Free-text description of this access token.
Start date from which this token can be used.
Expiration date after which this token is no longer valid.
Maximum number of users that can use this token simultaneously.
MAC address of the device associated with this token.
Booking Guid.
Visitor Guid.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the accesstoken was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create AccessToken