Unity and Godot: game backends without writing server code
Use InstantBackend for scores, saves, and leaderboards from your game engine.
You don’t need a custom server or PlayFab to add cloud save, scores, or leaderboards to your Unity or Godot game. InstantBackend gives you auth and collections over REST—your game just sends HTTP requests with an API key and JWT.
Typical use cases
- User accounts. Login/signup, then store the JWT for later requests.
- Save data. One collection per user (e.g.
saves); each document is a save slot (level, progress, inventory). - Leaderboards. A
scorescollection withplayerId,score,__sortBy: "score"; list withsort=descandlimit=10. - Multiplayer metadata. Room or session data in a collection; clients read/write with the same API.
In the prompt
Use the Unity or Godot 4 prompt from Use this prompt. Each one instructs the AI to use only InstantBackend (no custom backend, no PlayFab), read the API key from config, and handle 401 (clear token, back to login).
API in short
- Base:
https://api.instantbackend.dev - Headers:
X-API-Keyfor login/signup;Authorization: Bearer <token>for collections. - Endpoints:
POST /login,POST /signup,GET/POST /{collection},GET /{collection}/{id}.