Skip to content
ReadyZone Docs
API Reference

Ticket activation

Validate a ticket before hotspot login.

POST /api/ticketing/activate

Access: 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.

AttributeTypeRequiredDescription
companyReferencestringYesPublic zone reference.
usernamestringYesTicket username.
passwordstringYesTicket password.
macAddressstringNoClient MAC address.
ipAddressstringNoClient IP address.
userAgentstringNoBrowser User-Agent.
portalSourcestringNoPortal 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)

On this page