Quick Start
Make your first API call and set up authentication in under 5 minutes.
Authentication
Register users, obtain JWT tokens, and authenticate every request.
API Reference
Full reference for all public endpoints: auth, games, economy, and events.
Guides
Step-by-step walkthroughs for common integration tasks.
How PlaySmart works
PlaySmart exposes a REST API your game client calls over HTTPS. After registering a user, you receive a JWT access token that authorizes all subsequent requests. Games earn coins as players complete levels, those coins convert automatically to real USD balances on a scheduled cycle, and players can request PayPal withdrawals from the app.Register your player
Call
POST /auth/register with the player’s email, password, and device ID to create an account and receive access and refresh tokens.Fetch game configuration
Call
GET /v1/games to retrieve your game’s settings — coin rewards, ad configuration, and maintenance status — before each session starts.Track gameplay events
Send batched events to
POST /ingest/events as players open the app, complete levels, and trigger in-game actions. This drives coin awards and analytics.Key capabilities
Coin Economy
Earn, deduct, and convert in-game coins to USD with configurable exchange rates.
Game Catalog
Per-game configuration for ads, coins, game mode, and version gating.
Analytics Events
Ingest gameplay events in batches with automatic deduplication and processing.
PayPal Withdrawals
Players request withdrawals directly; your team marks them paid via the admin panel.
