Loading…
Rotates the gym's QR check-in code and returns the new plaintext token. The gym displays this token (typically as a QR code on a kiosk screen); athletes scan it and redeem it against their own subscription via QR check-in / QR check-out.
| Permission | Description |
|---|---|
gym_subscriptions.checkin | Gym owner — or a gym admin delegated this permission — may rotate the code |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| gym-id | int | Yes | ID of the gym | 123 |
None.
{
"data": {
"token": "kW3n8b2XqL0pT7vYcRfZ9aH1mJ4sD6eGuI5oPxQw",
"expires_at": "2026-09-02 10:32:00"
}
}
| Status | Description | Reference |
|---|---|---|
| 403 | Forbidden (not the owner or a delegated admin) | Permission error |
| 401 | Unauthorized | Authentication error |
| 429 | Throttled (30/min) |