Reference

API overview

Preview only. The public REST API is planned for Phase 3 (post-launch). Endpoints and authentication details are subject to change.

The Sitrep API is a REST API over HTTPS. Every action available in the panel UI will be available programmatically — useful for Discord bots, monitoring dashboards, or automation scripts.

Base URL

https://<your-panel-domain>/api/v1

Authentication

API keys will be generated in Settings → API Keys. Each key is scoped to a user and role. Pass the key in the Authorization header:

curl -H "Authorization: Bearer sts_live_xxxxxxxxxxxx" \ https://panel.spare-time-gaming.us/api/v1/server/status

Planned endpoints

Server
GET/server/statusLive status, player count, uptime
POST/server/restartRestart with optional notify
Players
GET/playersOnline player list
DEL/players/{id}Kick a player
RCON
POST/rcon/commandSend a raw RCON command