Quickstart
You need a team and an API token. Create both in the dashboard: app.spawnbase.gg → Tokens → Create. The token is shown once. Keep it server-side.
1. Upload a file
Section titled “1. Upload a file”curl -X POST https://api.spawnbase.gg/api/v1/file \ -H "Authorization: YOUR_TOKEN" \ -F "file=@screenshot.jpg"Response:
{ "status": "ok", "data": { "id": "7F9pGhN8qwErT1vx5aZk", "url": "https://cdn.spawnbase.gg/<teamId>/7F9pGhN8qwErT1vx5aZk.jpg" } }2. Send a log
Section titled “2. Send a log”curl -X POST https://api.spawnbase.gg/api/v1/logs \ -H "Authorization: YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '[{"level":"info","message":"server started","resource":"core"}]'3. Next
Section titled “3. Next”- Authentication — token types and scopes.
- Presigned uploads — let clients upload without a token.
- FiveM SDK — drop-in resource, no curl needed.