Skip to content

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.

Terminal window
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" } }
Terminal window
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"}]'