🚀 Quickstart with Nexra
Follow these steps to integrate Nexra and create your first tournament. Each step is expandable for details and examples.1
1. Get Your Game API Key
First, register your game in the Nexra Dashboard:
- Go to the Nexra Dashboard.
- Click Create New Game and fill in the details.
- Once your game is created, you will receive a Game API Key.
Replace <your_game_api_key> with the API Key provided for your game.
2
2. Create Your First Tournament
Use the Request Body Example:Response Example:
POST /tournament/create endpoint to create tournaments from your game.Request Example:
Keep the id for future updates or publishing.
3
3. Publish Your Tournament
Make your tournament live for gamers via Response Example:
PATCH /tournament/{tournamentId}/publish.Request Example:4
4. Gamers Join via Your Game
Once integrated, gamers can join tournaments from your game. Your game calls: Request Body Example:Response Example:
POST /tournament/{tournamentId}/join when a gamer chooses to enter.
Developers only need to integrate this action; gamers trigger it naturally through the game interface.Request Example:5
5. Optional: Update or Eliminate Players
Developers can update tournament details or remove players dynamically via:
PATCH /tournament/{tournamentId}/eliminate