API Reference
Every endpoint accepts JSON and requires the X-API-Key header for authentication.
Base URL and header
- Base URL
https://horizon.pm/api/v1/app- X-API-Key
- Your project API key. Send it with every request.
Endpoints
25 of 25
| Method | Path | Features | Copy URL |
|---|---|---|---|
| POST | /user-management/signup | Authentication | |
| POST | /user-management/signin | Authentication | |
| POST | /user-management/check-auth | Users | |
| POST | /user-management/change-name | Users | |
| GET | /player-profile | Player Profile | |
| PUT | /player-profile | Player Profile | |
| POST | /leaderboard/submit | Leaderboard | |
| GET | /leaderboards/{boardKey}/top | Leaderboard | |
| POST | /validated-actions/runs | Validated Actions | |
| POST | /validated-actions/submit | Validated Actions | |
| POST | /cloud-save/save | Cloud Save | |
| POST | /cloud-save/load | Cloud Save | |
| GET | /remote-config/{configKey} | Remote Config | |
| GET | /remote-config/all | Remote Config | |
| GET | /localization/{key} | Localization | |
| GET | /localization/all | Localization | |
| GET | /news | News | |
| POST | /gift-codes/validate | Gift Codes | |
| POST | /gift-codes/redeem | Gift Codes | |
| POST | /email-sending/send | Email Sending | |
| GET | /email-sending/{emailId} | Email Sending | |
| POST | /crash-reports/session | Crash Reporting | |
| POST | /crash-reports/create | Crash Reporting | |
| POST | /user-feedback/submit | User Feedback | |
| POST | /user-logs/create | User Logs |
Example request
Bash
1curl -X POST https://horizon.pm/api/v1/app/user-management/signup \
2 -H "Content-Type: application/json" \
3 -H "X-API-Key: horizon_YOUR_API_KEY_HERE" \
4 -d '{"type":"ANONYMOUS","username":"TestPlayer","includeRefreshToken":true}'