REST API Reference
All endpoints are prefixed with /api/v1. Use Bearer authentication for protected routes.
Base URL
https://wakelink-project.orgAuthentication
Include the access token in the Authorization header:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... For WebSocket + agent connections, use the api_token (format: wl_…).
Authentication
Authentication — Password
Authentication — 2FA (TOTP)
Authentication — Telegram
Agents (ESP32 Agents)
Statistics
Releases
Admin (admin role required)
Error Codes
400Bad Request — validation error or malformed input401Unauthorized — missing or invalid token403Forbidden — insufficient permissions404Not Found — resource does not exist409Conflict — duplicate agent ID or username422Unprocessable Entity — schema validation failure429Too Many Requests — rate limit exceeded500Internal Server Error