Base URL
| Environment | URL | Status |
|---|---|---|
| Dev | https://wave-api.playwave.dev/v1 | Available |
| QA | https://wave-api-qa.playwave.dev/v1 | Coming soon |
| Live | https://wave-api.playwave.io/v1 | Coming soon |
Authentication
All requests require theX-Api-Key header.
Per-game API Key. The server matches the of the key to the game configuration.
API Keys are currently issued by the PlayWave operations team. Contact your PlayWave representative to request a key for your game.
Must be
application/json.Response format
Success response
Error response
Endpoints
The game server calls 3 APIs.| Method | Path | Description |
|---|---|---|
| POST | /v1/game/session/verify | verification + game session creation |
| PATCH | /v1/game/session/heartbeat | Game session heartbeat (every 2 min) |
| DELETE | /v1/game/session/end | Game session termination |
Common error codes
| Code | HTTP | Description |
|---|---|---|
BAD_REQUEST | 400 | Request body validation failed |
INVALID_API_KEY | 401 | Invalid API Key |
RATE_LIMITED | 429 | Request rate limit exceeded |
INTERNAL_ERROR | 500 | Internal server error |