Skip to main content

Tournament Platform API

The Tournament Platform provides comprehensive REST APIs for integrating real-time multiplayer tournaments into casino systems and game platforms. Our APIs are designed for reliability, scalability, and ease of integration.

API Overview

The Tournament Platform offers two distinct API sets:

Casino Integration APIs

External APIs for casino systems to manage tournaments, players, and results

Game Platform APIs

Internal APIs for game platforms to handle authentication, rooms, and events

Base URL

Production Environment

This is the production Tournament Platform API. Use appropriate testing strategies and start with small-scale tournaments during initial integration.

Authentication

The Tournament Platform uses Bearer Token authentication with different API keys for different integration types:

Casino Integration (External APIs)

  • API Key Format: sk_live_... (production)
  • Usage: Tournament management, player registration, results retrieval
  • Permissions: Operator-specific access to tournaments and players

Game Platform (Internal APIs)

  • API Key Format: internal_...
  • Usage: JWT validation, room management, tournament configuration
  • Permissions: Access to internal game-specific endpoints
Keep your API keys secure and never expose them in client-side code. API keys provide access to sensitive tournament and player data.

Rate Limiting

The Tournament Platform enforces rate limits to ensure service reliability: When you exceed rate limits, you’ll receive a 429 Too Many Requests response with a Retry-After header indicating when to retry.

Request/Response Format

Content Type

All API endpoints accept and return application/json. Always include the Content-Type header in POST/PUT requests:

Response Structure

All API responses follow a consistent format: Success Response (200-299):
Error Response (400-599):

Error Handling

HTTP Status Codes

Error Codes

Common error codes and their meanings:

Pagination

List endpoints support pagination using limit and offset parameters:
Response includes pagination metadata:

Filtering & Sorting

Most list endpoints support filtering and sorting:
Common filter parameters:
  • status - Filter by tournament status
  • gameSlug - Filter by game type
  • startDate / endDate - Filter by date range
  • minPlayers / maxPlayers - Filter by player count

Event Notifications

The Tournament Platform sends real-time tournament event notifications via SQS transport. Webhook endpoints are configured at the transport level, not via API.

Event Documentation

Complete guide to tournament event handling and SQS integration

SDKs & Libraries

Official SDKs are available for popular programming languages:

JavaScript/Node.js

PHP

Python

Interactive API Explorer

Use the interactive API explorer below to test endpoints with your API keys:
The API explorer uses the OpenAPI specification to provide real-time API testing. Use appropriate testing strategies when working with the production API.

Common Workflows

1. Tournament Creation & Management

  1. Create Tournament - Set up new tournament
  2. Update Tournament - Modify before start
  3. List Tournaments - View all tournaments
  4. Get Tournament - Retrieve details

2. Player Registration & Management

  1. Register Player - Add player to tournament
  2. Process Rebuy - Handle additional entries
  3. List Players - View tournament participants

3. Results & Leaderboards

  1. Get Leaderboard - Real-time rankings
  2. Get Results - Final tournament results
  3. Player History - Historical performance

4. Game Platform Integration

  1. Validate JWT - Authenticate player access
  2. Get Config - Retrieve tournament settings
  3. Report Events - Send game events

Support & Resources

API Status

Check real-time API availability and performance

Developer Support

Get help with integration questions

Testing Guide

Testing strategies and debugging tools

Best Practices

Security and integration best practices

API Changelog

Stay updated on API changes and new features:
  • v1.0.0 (Current) - Initial release with full tournament management
  • All breaking changes will be announced 30 days in advance
  • Deprecated endpoints will be supported for 6 months minimum
Subscribe to our developer newsletter for API updates and new feature announcements.