API Reference
Ticket activation
Validate a ticket before hotspot login.
POST /api/ticketing/activateAccess: Public
Request body
{
"companyReference": "readyzone-center-12345",
"username": "TICKET-001",
"password": "secret",
"macAddress": "AA:BB:CC:DD:EE:FF",
"ipAddress": "192.168.88.20",
"userAgent": "Mozilla/5.0",
"portalSource": "mikrotik-model-4"
}companyReference, username, and password are required. Other fields are optional context and audit information.
| Attribute | Type | Required | Description |
|---|---|---|---|
companyReference | string | Yes | Public zone reference. |
username | string | Yes | Ticket username. |
password | string | Yes | Ticket password. |
macAddress | string | No | Client MAC address. |
ipAddress | string | No | Client IP address. |
userAgent | string | No | Browser User-Agent. |
portalSource | string | No | Portal source or name. |
Response
A successful response contains ok: true. The portal then submits the MikroTik login form.
{
"ok": true
}Status codes
- 200 OK
- 400 Bad Request (invalid ticket or missing data)
- 404 Not Found (zone or ticket not found)