🔑 Authentication
All requests to Nexra’s API require authentication to ensure your game and data are secure. Unlike typical bearer tokens, Nexra uses a Game API Key that you get when you register your game on the dashboard.📝 Get Your Game API Key
- Go to the Nexra Dashboard.
- Click Create New Game.
- Fill in your game details (name, description, etc.).
- Once the game is created, you will receive your Game API Key.
Keep your API Key secret. Do not share it publicly or embed it in client-side code.
🔗 Using Your API Key
Include your API Key in theAuthorization header for all API requests:
🔒 Best Practices
- Never expose your Game API Key in public repositories or frontend code.
- Rotate your API Key if you believe it has been compromised.
- Always use HTTPS to secure your API requests.
- Log and monitor requests from your game for unusual activity.
This page ensures developers understand how to authenticate before making API calls like creating or managing tournaments.