PlayerOS Developer Portal
PlayerOS is a casino and iGaming player-engagement platform with a REST API, an MCP server for AI agents, and webhooks. Everything below is public and versioned — build against it directly, or point an agent at it.
PlayerOS API quickstart
Create a property-scoped API key
In the PlayerOS dashboard, open Settings → API Keys and create a key. Keys are scoped to a single property and carry read, write, or both. The key is shown once, at creation.
Call the API
Send the key in the X-Api-Key header (or as a bearer token). Every response carries an API-Version header so you can pin behaviour.
Or connect an agent over MCP
Point an MCP client at the Streamable HTTP endpoint and authenticate with the same key. The 25 tools run the same handlers as the REST API, including the compliance checks.
curl https://api.playeros.ai/api/players \
-H "X-Api-Key: pk_your_key_here"
# Every response carries:
# API-Version: 2026-06-05
# X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset
# On 401, the WWW-Authenticate header points at the
# protected-resource metadata so an agent can self-discover auth:
# WWW-Authenticate: Bearer resource_metadata="https://api.playeros.ai/.well-known/oauth-protected-resource"PlayerOS developer resources
OpenAPI 3.1 specification
The complete machine-readable description of the REST API. Generate a client from it, or hand it to an agent.
openapi.jsonAPI documentation
Endpoint reference for players, segments, campaigns, journeys, games, the Player Inbox, and compliance. Also served as Markdown for agents.
Read the API docsMCP server
25 playeros_* tools over Streamable HTTP at https://api.playeros.ai/api/mcp, authenticated with a property-scoped API key. Discovery at /.well-known/mcp.json.
Server cardAuthentication
Property-scoped API keys with read and write scopes, plus dashboard sessions for the app itself. The full walkthrough — discovery, claiming a credential, errors, and revocation — is published as auth.md.
auth.mdAgent context files
llms.txt and llms-full.txt describe the product, its capabilities and its endpoints in plain text. Every content page also has a Markdown twin at the same path with .md appended.
llms.txtWebhooks
Subscribe to campaign, player, consent and game events. Deliveries are HMAC-signed and retried. Register endpoints through the API.
Webhook referenceOperating against the PlayerOS API
Rate limits and versioning
Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset so a client can self-throttle. The API is date-versioned and reports the version it served on every response via the API-Version header.
Test mode
Accounts can run in test mode, which routes billing through Stripe test keys so integration work does not create real charges. Test sends are recorded separately from real ones and are excluded from campaign reporting. Test mode shares the account's data — it is not a separate dataset, so treat it as a billing and send-safety mode rather than an isolated sandbox.
Compliance is enforced server-side
Opt-out, do-not-contact, responsible-gaming exclusion and consent are re-checked at the moment of send, on every path — including the API and the MCP tools. Recipients who fail a check are filtered and reported back in the send result. An integration cannot route around them.
Keys and scopes
API keys are scoped to one property and carry read, write, or both. A key never spans properties. Keys are created and revoked from Settings → API Keys in the dashboard.