Quickstart

Get your first API call working

Five steps to a live backend, about 2 minutes.

Up and running in 2 minutes

The shortest path to a working backend. Do these five steps, copy each snippet, and you are live. Need more detail? Each step links into the full guide.

0

Create your free account

Sign up in seconds, then grab your API key in the next step.

Start Free

Snippets use the EU region (eu.horizon.pm). Swap in us. or as. for your project region.

1

Create a project API key

Open Dashboard, then API Keys, create a project key, and keep it for the next steps.

X-API-Key: horizon_YOUR_API_KEY_HERE
2

Paste the SDK config

Use this shape for Unity, Godot, Unreal, or a custom REST client.

{
  "apiKey": "horizon_YOUR_API_KEY_HERE",
  "backendDomains": ["https://eu.horizon.pm"]
}
3

Sign in anonymously

Create a player without registration friction and get back the user id for the next calls.

curl -X POST https://eu.horizon.pm/api/v1/app/user-management/signup \
  -H "Content-Type: application/json" \
  -H "X-API-Key: horizon_YOUR_API_KEY_HERE" \
  -d '{"type":"ANONYMOUS","username":"TestPlayer"}'
4

Write the first cloud save

Use the returned user id and store a small JSON payload.

curl -X POST https://eu.horizon.pm/api/v1/app/cloud-save/save \
  -H "Content-Type: application/json" \
  -H "X-API-Key: horizon_YOUR_API_KEY_HERE" \
  -d '{"userId":"USER_UUID","saveData":"{\"level\":1,\"coins\":50}"}'
5

Read a gameplay config

Confirm that live server data reaches the client without another app build.

curl https://eu.horizon.pm/api/v1/app/remote-config/all \
  -H "X-API-Key: horizon_YOUR_API_KEY_HERE"

Done. Your backend accepts writes and reads. Your app is connected.

What you unlock

Authentication, Leaderboards, Cloud Save, Crash Reports, User Logs, Remote Config, News, Email, Gift Codes, and Feedback, all from the same API key.

Go deeper for your engine