API Reference
The SavageTech API is versioned under /api/v1/. All endpoints require authentication (app credentials).
You can obtain credentials by contacting SavageTech Support.
OpenAPI / Swagger
The full API is described in OpenAPI 3.1 format. You can:
- Use the Swagger UI in the admin dashboard (if you have access) to explore and try endpoints.
- Reference the OpenAPI spec in your sample onboarding project.
Base URL
Development: https://func.rc.savagebet.gg (or custom URL specified by SavageTech)
Authentication
App (vendor) auth: Send x-client-id and x-client-secret headers for vendor-scoped endpoints (e.g. WebSocket tokens, vendor players).
Main areas
| Area | Description |
|---|---|
| Authentication | Login, refresh, WebSocket tokens |
| Vendor | Vendor config, currencies, rates, players, logo, widget |
| Players | Add, update players, rewards (POST /api/v1/players/{playerId}/reward) |
| Equipment | List, get by ID |
| Loot chests | List, get |
| External rewards | List, get |
| Missions | List, get |
| Statistics | Leaderboards, analytics |
For detailed request/response schemas and status codes, use the OpenAPI spec or Swagger UI.