Authentication
The Gainz360 REST API uses Bearer Tokens managed via Laravel Sanctum. Include your token in HTTP headers:
Authorization: Bearer 12|sanctum_api_token_here
Endpoints Overview
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/staff/login |
Authenticate staff user and receive API bearer token |
| GET | /api/v1/staff/menu |
Fetch active restaurant menu categories, items, and variants |
| GET | /api/v1/staff/tables |
Fetch current dining table layout and occupancy statuses |
| POST | /api/v1/staff/orders |
Create a new dining or takeaway order with KOT trigger |