Unmatched Competitions API Version 1. The machine-readable description is openapi.json (OpenAPI 3.1).
Guide Reference
Getting started
Base URL. https://api.<platform-domain>/api/v1. JSON (UTF-8) only. Within v1 changes are additive: new fields, endpoints and enum values. Ignore unknown fields and tolerate unknown enum values. Breaking changes mean /api/v2, announced with Deprecation and Sunset headers at least 90 days ahead.
Keys. Send X-Api-Key. A secret key (sk_live_…, sk_test_…) is for servers only and is refused when a browser Origin header is present (SECRET_KEY_IN_BROWSER). A publishable key (pk_…) is for browsers and apps; requests from a browser must come from one of your allowed origins (ORIGIN_NOT_ALLOWED otherwise). Keys are never accepted in a query string. Scopes: READ, COMMERCE, PLAYERS, IMPORT (secret keys only, imports only).
Sandbox. Test keys (_test_) belong to your sandbox twin: separate data and mock payments. Live keys never see test data.
Players. POST /auth/login returns an access token (send Authorization: Bearer …) and a single-use refresh token. Tokens belong to one tenant and never verify at another.
Envelope. Success: {"data": …, "meta": {"serverTime", "requestId"}}; lists add "page": {"nextCursor", "limit"}. Errors: {"error": {"code", "message", "details?", "requestId"}}. Codes are stable; map them to your own copy. Quote the requestId when you contact support.
Money is {"amount": 99, "currency": "GBP"} with amount in integer pence. Times are ISO-8601 UTC with milliseconds; use meta.serverTime for countdowns.
Pagination. ?limit= (default 20, maximum 100) and ?cursor= from page.nextCursor. Cursors are opaque and bound to your tenant and the endpoint.
Strict requests. Unknown body fields and query parameters are refused with 400 VALIDATION_FAILED; details.issues lists the paths.
Caching. Public catalogue reads carry a weak ETag and Cache-Control: public, max-age=10, stale-while-revalidate=30; send If-None-Match for 304. Anything player-specific is private, no-store.
Rate limits. RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset on every response; 429 RATE_LIMITED carries Retry-After. Defaults: 600/min per secret key, 120/min per client IP per publishable key.
CORS. Preflight requests answer 204 for every origin and path; the actual request is checked against your allowed origins. Allowed request headers: X-Api-Key, Authorization, Content-Type, Idempotency-Key, X-Basket-Token, X-Request-Id, X-Complaint-Token, X-Export-Token, X-Challenge.
Uploads. Files go only through the streaming routes. An age-check image is sent with POST /uploads/verifications/{verificationId}/documents?kind=ID_FRONT (or ID_BACK, SELFIE) as multipart/form-data with one image in the field file (JPEG, PNG or WebP, up to 10 MB; PDFs are refused). The document type is the kind query parameter , not a form field. Import files are sent in chunks with PUT /imports/{id}/files/{entity}?format=CSV|JSONL|JSON and a Content-Range header (up to 8 MB per request).
Idempotency and errors
Every POST, PUT, PATCH and DELETE needs an Idempotency-Key header holding a UUID (v4 or v7): missing is 400 IDEMPOTENCY_KEY_REQUIRED, malformed is 400 IDEMPOTENCY_KEY_INVALID. Exceptions: /auth/token/refresh and /auth/logout (optional), and POST /events/ticket (none).
A key is scoped to the player (with a token), the secret key, or the publishable key plus the basket token. Retrying with the same key and the same request replays the first answer with Idempotent-Replayed: true. The same key with a different request is 422 IDEMPOTENCY_CONFLICT; the same key while the first request still runs is 409 IDEMPOTENCY_IN_PROGRESS (Retry-After: 1). 5xx and 429 answers are not stored, so retrying is safe. Records last 24 hours. Routes that return credentials (POST /baskets, the /auth/* routes) store no body: a replay runs again.
Security check. Register, login, resend verification, forgot password, newsletter subscribe and contact requests may answer 403 CHALLENGE_REQUIRED with details.challenge (a proof of work). Solve it and retry with the solution in X-Challenge.
Common codes. VALIDATION_FAILED (400), INVALID_API_KEY and API_KEY_EXPIRED (401), AUTH_REQUIRED (401), SCOPE_REQUIRED, ORIGIN_NOT_ALLOWED, TENANT_SUSPENDED, API_ACCESS_DISABLED (403), NOT_FOUND and the resource codes (404; another player's id is always a 404), RATE_LIMITED (429), INTERNAL_ERROR (500), SERVICE_UNAVAILABLE (503). Each endpoint in the reference lists its own codes.
Front-end links
Emails sent on your behalf link to your front end, using the link templates in your tenant settings (frontEnd). Provide a page for each:
Link
Your page does
Verify email, confirm email change
read token, POST /auth/email/verify, remove the token from the address bar
Reset or set password
POST /auth/password/reset with the token and a new password
Newsletter confirmation
POST /newsletter/subscriptions/confirm
Confirm a new withdrawal payee
POST /me/wallet/withdrawals/confirm-payee (player signed in)
Cancel a held withdrawal
POST /withdrawals/cancel (no sign-in needed)
Contact request status
GET /contact-requests/{reference} with X-Complaint-Token
Prize claim, account, data export
GET /me/data-exports/{id} with the player token and X-Export-Token
The token travels in the URL fragment , so it stays out of your server logs. Read it, consume it by POST, then call history.replaceState to remove it. The marketing List-Unsubscribe link points at the platform (/api/v1/u/{token}) and needs nothing from you.
Compliance display requirements
You are responsible for your own front end. The platform enforces rules on the server, but these must also be shown:
the free postal entry route, prominently next to every buy button and in the basket and checkout (GET /config postalEntry, and each competition's freeEntry);
total prices including VAT, never "from" prices at checkout;
the order button labelled exactly as checkout.orderButtonLabel renders (for example "Pay £X now"), sent back as orderButtonLabel; a stale label or wording version answers 409 WORDING_VERSION_OUTDATED;
links to the terms and responsible-play pages on every page;
cookie consent before any non-essential storage (record it with POST /cookie-consents);
the under-18 notice, and the credit-card restrictions at the start of checkout;
no near-miss reveals for instant wins (positions stay secret until the reveal);
consent wording for each marketing channel, with the version you showed.
Webhooks
Endpoints are managed in the back office (secret shown once, whsec_…). Each delivery is a POST of:
{ "id": "evt_…", "type": "order.paid", "apiVersion": "2026-11-01", "createdAt": "…", "tenant": {"id": "…", "code": "…"}, "livemode": true, "data": {} }
Headers follow Standard Webhooks: webhook-id, webhook-timestamp (unix seconds), webhook-signature: v1,<base64 HMAC-SHA256(secret, "{id}.{timestamp}.{rawBody}")>. During a rotation both signatures are sent, space-separated, for 24 hours. Reject timestamps more than 5 minutes from your clock and dedupe on webhook-id. Ordering is not guaranteed. Failed deliveries retry for about three days (1 min, 5 min, 30 min, 2 h, 5 h, 10 h, …).
// Node
const crypto = require("node:crypto");
function verify(secret, headers, rawBody) {
const key = Buffer.from(secret.replace(/^whsec_/, ""), "base64");
const signed = `${headers["webhook-id"]}.${headers["webhook-timestamp"]}.${rawBody}`;
const expected = crypto.createHmac("sha256", key).update(signed).digest("base64");
if (Math.abs(Date.now() / 1000 - Number(headers["webhook-timestamp"])) > 300) return false;
return headers["webhook-signature"].split(" ").some((s) => s.startsWith("v1,") && crypto.timingSafeEqual(Buffer.from(s.slice(3)), Buffer.from(expected)));
}
# Python
import base64, hashlib, hmac, time
def verify(secret, headers, raw):
key = base64.b64decode(secret.removeprefix("whsec_"))
signed = f'{headers["webhook-id"]}.{headers["webhook-timestamp"]}.'.encode() + raw
expected = base64.b64encode(hmac.new(key, signed, hashlib.sha256).digest()).decode()
if abs(time.time() - int(headers["webhook-timestamp"])) > 300: return False
return any(hmac.compare_digest(s[3:], expected) for s in headers["webhook-signature"].split(" ") if s.startswith("v1,"))
<?php // PHP
function verify($secret, $h, $raw) {
$key = base64_decode(preg_replace('/^whsec_/', '', $secret));
$expected = base64_encode(hash_hmac('sha256', $h['webhook-id'].'.'.$h['webhook-timestamp'].'.'.$raw, $key, true));
if (abs(time() - (int)$h['webhook-timestamp']) > 300) return false;
foreach (explode(' ', $h['webhook-signature']) as $s) if (strpos($s, 'v1,') === 0 && hash_equals(substr($s, 3), $expected)) return true;
return false;
}
Events: order.paid, tickets.allocated, instant_win.won, competition.updated, competition.published, competition.closed, draw.completed, winner.selected, refund.processed, prize_claim.updated, player.registered, player.suspended, live_draw.updated, wallet.credited, player.limit_changed, player.closed, player.reactivated, consent.updated, import.validated, import.completed, import.failed. Payloads carry ids, amounts in pence, and createdAt; personal data is limited to ids, plus first name and email in player.registered and consent.updated. Sandbox events have livemode: false.
Realtime
POST /events/ticket with {"channels": ["activity", "competition:{id}", "me"]} returns a one-use ticket valid 60 seconds. Open GET /events?ticket=… with EventSource. Channels: activity, live-draws, competition:{uuid}, instant-wins:{uuid}, me (player token). The stream closes after 10 minutes: fetch a new ticket and reconnect with Last-Event-ID.
Changelog
1.0.0 First release of the public API.
Endpoint reference Configuration and content GET /config E-001
Tenant configuration
Every public setting a client front end needs: branding, legal entity, consent wording versions, checkout, limits, free entry and more.
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /menus/{key} E-002
A navigation menu
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description keypath "HEADER" | "MOBILE" | "FOOTER" yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /home E-003
Home page aggregate
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /hero-slides E-004
Hero slides
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /stats E-005
Stats band
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /activity E-006
Live activity ticker items
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /content-blocks E-007
Content blocks by key
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description keysquery string yes Comma-separated block keys.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /pages/{slug} E-008
A CMS page or current legal document
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description slugpath string yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /pages E-009
Page index
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description typequery "info" | "legal"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /faqs E-010
FAQs
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description categoryquery string featuredquery "0" | "1" | "true" | "false"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /newsletter/subscriptions E-011
Subscribe to the newsletter
Always answers 202, whatever the address (no enumeration). May answer 403 CHALLENGE_REQUIRED; retry with the solution in X-Challenge.
Requires a secret or publishable key with scope READ.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description emailstring yes consentWordingVersionsobject yes The wording version shown for each ticked channel (from GET /config consent.wording). consentWordingVersions.emailstring consentWordingVersions.smsstring consentWordingVersions.pushstring ageConfirmedboolean yes sourcestring yes honeypotstring
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 WORDING_VERSION_OUTDATED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /newsletter/subscriptions/confirm E-012
Confirm a newsletter subscription
Requires a secret or publishable key with scope READ.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description tokenstring yes
Status Meaning 200 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /newsletter/subscriptions/unsubscribe E-013
Unsubscribe from the newsletter
With `{token}` the address is unsubscribed at once (200). With `{email}` a confirmation email with a one-click link is sent (202), whatever the address.
Requires a secret or publishable key with scope READ.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Status Meaning 202 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /contact-requests E-014
Send a contact request or complaint
Returns the reference; the tracking link is emailed.
Requires a secret or publishable key with scope READ and optionally a player access token.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description namestring yes emailstring yes accountEmailstring topic"general" | "complaint" | "data_protection" | "prize" | "account" | "payment" | "responsible_play" yes competitionIdstring A UUID. orderNumberinteger messagestring yes honeypotstring
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /contact-requests/{reference} E-102
Contact request status
Requires a secret or publishable key with scope READ.
Parameter In Type Required Description referencepath string yes X-Complaint-Tokenheader string yes The tracking token from the email.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /contact-requests/{reference}/status E-102P
Contact request status (token in the body)
Requires a secret or publishable key with scope READ.
Parameter In Type Required Description referencepath string yes
Request body application/json
Field Type Required Description tokenstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /cookie-consents E-115
Record a cookie consent choice
Requires a secret or publishable key with scope READ and optionally a player access token.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description anonymousIdstring yes 16 to 128 URL-safe characters. choicesobject yes choices.analyticsboolean yes choices.marketingboolean yes bannerVersionstring yes
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /legal-documents/{type} E-116
Current legal document
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description typepath "TERMS" | "PRIVACY" | "COOKIES" | "RESPONSIBLE_PLAY" | "COMPLAINTS" | "ACCEPTABLE_USE" | "FREE_ENTRY" | "WINNER_PUBLICITY" | "HOW_DRAWS_WORK" | "ACCESSIBILITY" | "COMPETITION_RULES_TEMPLATE" yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /legal-documents/{type}/versions/{version} E-117
A legal document version
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description typepath "TERMS" | "PRIVACY" | "COOKIES" | "RESPONSIBLE_PLAY" | "COMPLAINTS" | "ACCEPTABLE_USE" | "FREE_ENTRY" | "WINNER_PUBLICITY" | "HOW_DRAWS_WORK" | "ACCESSIBILITY" | "COMPETITION_RULES_TEMPLATE" yes versionpath string yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /redirects/resolve E-130
Resolve a legacy redirect
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description pathquery string yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /openapi.json E-125
This OpenAPI document
No key needed.
Status Meaning 200 OpenAPI 3.1 JSON.
Competitions, draws and results GET /categories E-020
Categories
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description withCountsquery "0" | "1" | "true" | "false"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions E-021
List competitions
Sorted by the `sort` parameter (default priority) with id as tie-break. `meta.counts` holds counts per status.
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery "live" | "upcoming" | "ended" categoryquery string hasInstantWinsquery "0" | "1" | "true" | "false" endingSoonquery "0" | "1" | "true" | "false" qquery string sortquery "priority" | "closing" | "newest" | "price" | "odds"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id} E-022
Competition detail
`{id}` is a competition id or slug. With a player token the `me` block is added and the answer is private.
Requires a secret or publishable key with scope READ and optionally a player access token.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A competition id or slug.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 COMPETITION_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id}/availability E-023
Ticket availability
Requires a secret or publishable key with scope READ and optionally a player access token.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID. fromquery integer yes toquery integer yes randomquery "0" | "1" | "true" | "false"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 COMPETITION_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id}/instant-wins E-024
Instant wins of a competition
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID. limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 COMPETITION_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id}/entries E-025
Published entry list
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID. limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id}/result E-026
Draw result
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /competitions/{id}/draw-certificate E-106
Draw certificate
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /competitions/{id}/notify-me E-104
Subscribe to a competition notification
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 COMPETITION_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
DELETE /competitions/{id}/notify-me E-105
Cancel a competition notification
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /instant-wins/recent E-027
Recent instant wins
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /live-draws E-030
Live draw sessions
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery "upcoming" | "past"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /live-draws/next E-031
Next live draw
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /live-draws/{id} E-032
A live draw session
Requires a secret or publishable key with scope READ and optionally a player access token.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /live-draws/{id}/reminder E-033
Set a live draw reminder
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
DELETE /live-draws/{id}/reminder E-034
Cancel a live draw reminder
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /results E-035
Past results
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. categoryquery string monthquery string
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /winners E-036
Published winners
Requires a secret or publishable key with scope READ.
Cached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. typequery "main" | "instant" categoryquery string
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
Basket, checkout and orders POST /baskets E-040
Create an anonymous basket
Returns the basket id and its token. The token is shown only here: send it as X-Basket-Token. The response is not stored for idempotency.
Requires a secret or publishable key with scope COMMERCE.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 TENANT_NOT_LIVE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /baskets/{id} E-041
Get a basket
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND 410 BASKET_EXPIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /baskets/{id}/items E-042
Add tickets to a basket
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Request body application/json
Field Type Required Description competitionIdstring yes A UUID. luckyDipQuantityinteger yes pickedNumbersstring[] skillAnswerOptionIdstring A UUID.
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND, COMPETITION_NOT_FOUND 409 COMPETITION_NOT_LIVE, COMPETITION_CLOSED, COMPETITION_SOLD_OUT, SALES_PAUSED, TENANT_NOT_LIVE, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, NUMBER_PICKING_DISABLED, MAX_PER_PERSON_EXCEEDED, SKILL_ATTEMPTS_EXHAUSTED 410 BASKET_EXPIRED 422 BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PATCH /baskets/{id}/items/{lineId} E-043
Change a basket line
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. lineIdpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Request body application/json
Field Type Required Description luckyDipQuantityinteger addNumbersstring[] removeNumbersstring[] skillAnswerOptionIdstring A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND, COMPETITION_NOT_FOUND 409 COMPETITION_NOT_LIVE, COMPETITION_CLOSED, COMPETITION_SOLD_OUT, SALES_PAUSED, TENANT_NOT_LIVE, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, NUMBER_PICKING_DISABLED, MAX_PER_PERSON_EXCEEDED, SKILL_ATTEMPTS_EXHAUSTED 410 BASKET_EXPIRED 422 BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
DELETE /baskets/{id}/items/{lineId} E-044
Remove a basket line
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. lineIdpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND 410 BASKET_EXPIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /baskets/{id}/coupon E-045
Apply a coupon
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Request body application/json
Field Type Required Description codestring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND 410 BASKET_EXPIRED 422 COUPON_INVALID 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
DELETE /baskets/{id}/coupon E-045D
Remove the coupon
Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Basket-Tokenheader string The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND 410 BASKET_EXPIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /baskets/{id}/attach E-046
Attach an anonymous basket to the signed-in player
`{id}` is the anonymous basket; the basket token in the body proves ownership.
Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description basketTokenstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND 410 BASKET_EXPIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /checkouts E-047
Place an order
Wallet-only and zero-value orders answer `status: processing` with no payment session; poll E-048.
Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description basketIdstring yes A UUID. walletobject yes wallet.amountPenceinteger yes wallet.sources"CREDIT_THEN_CASH" | "CREDIT_ONLY" yes billingAddressIdstring A UUID. billingAddressobject billingAddress.type"BILLING" | "SHIPPING" | "OTHER" yes billingAddress.isDefaultboolean billingAddress.firstNamestring billingAddress.lastNamestring billingAddress.companystring billingAddress.line1string yes billingAddress.line2string | null billingAddress.townstring yes billingAddress.countystring | null billingAddress.postcodestring yes billingAddress.countryCode"GB" | "JE" | "GG" | "IM" yes billingAddress.phonestring | null acceptTermsVersionstring yes ageConfirmedboolean yes eligibilityConfirmedboolean yes expressPerformanceRequestedboolean cancellationRightAcknowledgedboolean marketingOptInobject marketingOptIn.emailboolean marketingOptIn.smsboolean marketingOptIn.pushboolean consentWordingVersionsobject The wording version shown for each ticked channel (from GET /config consent.wording). consentWordingVersions.emailstring consentWordingVersions.smsstring consentWordingVersions.pushstring returnUrlstring cancelUrlstring orderButtonLabelstring yes The exact button text shown (renderOrderButtonLabel). cancellationWordingVersionstring yes
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 ACCOUNT_BLOCKED, ACCOUNT_CLOSED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, REACTIVATION_REQUIRED, EMAIL_NOT_VERIFIED, UNDERAGE, AGE_VERIFICATION_REQUIRED, REGION_NOT_ELIGIBLE, SPEND_LIMIT_EXCEEDED, ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 BASKET_NOT_FOUND, NOT_FOUND 409 TENANT_NOT_LIVE, SALES_PAUSED, TERMS_ACCEPTANCE_REQUIRED, COMPETITION_NOT_LIVE, COMPETITION_CLOSED, HOLD_EXPIRED, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, MAX_PER_PERSON_EXCEEDED, PRICE_CHANGED, WALLET_INSUFFICIENT, WALLET_LOCKED, WORDING_VERSION_OUTDATED 422 DOB_REQUIRED, MAX_PER_ORDER_EXCEEDED, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT, COUPON_INVALID, ACKNOWLEDGEMENT_REQUIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId) 503 PAYMENTS_UNAVAILABLE
GET /orders/{id}/status E-048
Order status
Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 ORDER_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /orders/{id}/payment-session E-107
Pay again: a new payment session
Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description returnUrlstring cancelUrlstring
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 ORDER_NOT_FOUND 409 ORDER_NOT_PAYABLE, PAYMENT_ATTEMPTS_EXHAUSTED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId) 503 PAYMENTS_UNAVAILABLE
POST /orders/{id}/cancel E-108
Cancel an unpaid order
Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 ORDER_NOT_FOUND 409 ORDER_NOT_CANCELLABLE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
Player authentication POST /auth/register E-050
Register a player
Always answers 202 `verification_sent`; it never logs in. May answer 403 CHALLENGE_REQUIRED: solve the proof of work and retry with X-Challenge.
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description emailstring yes passwordstring yes firstNamestring yes lastNamestring yes dateOfBirthstring yes phonestring addressobject address.type"BILLING" | "SHIPPING" | "OTHER" yes address.isDefaultboolean address.firstNamestring address.lastNamestring address.companystring address.line1string yes address.line2string | null address.townstring yes address.countystring | null address.postcodestring yes address.countryCode"GB" | "JE" | "GG" | "IM" yes address.phonestring | null acceptTermsVersionstring yes acceptPrivacyVersionstring yes marketingobject yes marketing.emailboolean yes marketing.smsboolean yes marketing.pushboolean publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS" spendLimitsobject spendLimits.monthlyPenceinteger yes spendLimits.weeklyPenceinteger spendLimits.dailyPenceinteger consentWordingVersionsobject yes The wording version shown for each ticked channel (from GET /config consent.wording). consentWordingVersions.emailstring consentWordingVersions.smsstring consentWordingVersions.pushstring
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 UNDERAGE, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 TERMS_ACCEPTANCE_REQUIRED, WORDING_VERSION_OUTDATED 422 PASSWORD_POLICY, ACKNOWLEDGEMENT_REQUIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/login E-051
Log in
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description emailstring yes passwordstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 ACCOUNT_BLOCKED, ACCOUNT_CLOSED, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId) 503 AUTH_BUSY
POST /auth/token/refresh E-052
Refresh the access token
Refresh tokens rotate: each is single use. The Idempotency-Key is optional.
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description refreshTokenstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 AUTH_REQUIRED, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 TOKEN_ROTATED 429 TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/logout E-053
Log out
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description refreshTokenstring allDevicesboolean
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/email/verify E-054
Verify an email address or confirm an email change
Consumes the token from the emailed link and logs the player in.
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description tokenstring yes
Status Meaning 200 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/email/verify/resend E-055
Resend the verification email
Requires a secret or publishable key with scope PLAYERS and optionally a player access token.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description emailstring
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/password/forgot E-056
Request a password reset
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer. X-Challengeheader string Proof-of-work answer after a 403 CHALLENGE_REQUIRED.
Request body application/json
Field Type Required Description emailstring yes
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /auth/password/reset E-057
Reset or set a password
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description tokenstring yes passwordstring yes
Status Meaning 204 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 422 PASSWORD_POLICY 429 TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
Player account GET /me E-060
The signed-in player
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PATCH /me E-061
Update the profile
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description firstNamestring lastNamestring phonestring | null publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS" showInActivityFeedboolean
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/date-of-birth E-127
Set the date of birth
Only while it is empty (imported players). Under 18 blocks the account.
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description dateOfBirthstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 UNDERAGE, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 DOB_ALREADY_SET 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/email-change E-062
Request an email change
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description newEmailstring yes passwordstring yes
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/password E-063
Change the password
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description currentPasswordstring yes newPasswordstring yes
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 422 PASSWORD_POLICY 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/addresses E-064L
List addresses
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/addresses E-064
Add an address
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description type"BILLING" | "SHIPPING" | "OTHER" yes isDefaultboolean firstNamestring lastNamestring companystring line1string yes line2string | null townstring yes countystring | null postcodestring yes countryCode"GB" | "JE" | "GG" | "IM" yes phonestring | null
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PATCH /me/addresses/{id} E-064U
Change an address
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description type"BILLING" | "SHIPPING" | "OTHER" yes isDefaultboolean firstNamestring lastNamestring companystring line1string yes line2string | null townstring yes countystring | null postcodestring yes countryCode"GB" | "JE" | "GG" | "IM" yes phonestring | null
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
DELETE /me/addresses/{id} E-064D
Delete an address
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/tickets E-065
My competitions with tickets
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery "live" | "ended" | "won"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/competitions/{id}/tickets E-066
My tickets in a competition
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/orders E-067
My orders
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/orders/{id} E-068
One of my orders
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 ORDER_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/orders/{id}/cancellation E-114
Cancel entries of a paid order
Only when the tenant uses the cancel-until-close approach.
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description lineIdsstring[]
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 ORDER_NOT_FOUND 409 ORDER_NOT_CANCELLABLE, CANCELLATION_WINDOW_CLOSED, REFUND_NOT_ALLOWED, TICKET_HAS_PRIZE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/wallet E-069
Wallet balances
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/wallet/transactions E-070
Wallet transactions
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. accountTypequery "CASH" | "CREDIT"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/wallet/withdrawals E-111
My withdrawals
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery string
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/wallet/withdrawals E-112
Request a withdrawal
A new payee needs the password in the request or an emailed confirmation; the first withdrawal to a new payee is held.
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description amountPenceinteger yes bankobject yes bank.accountNamestring yes bank.sortCodestring yes bank.accountNumberstring yes passwordstring
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 AGE_VERIFICATION_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 WALLET_INSUFFICIENT, WALLET_LOCKED 422 WITHDRAWAL_MIN, BANK_DETAILS_INVALID 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/wallet/withdrawals/{id}/cancel E-113
Cancel a withdrawal
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 WITHDRAWAL_NOT_CANCELLABLE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/wallet/withdrawals/confirm-payee E-133
Confirm a new payee
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description tokenstring yes
Status Meaning 200 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /withdrawals/cancel E-134
Cancel a held withdrawal from the emailed link
The token alone identifies the withdrawal, so a player whose account was taken over can stop the payout without signing in.
Requires a secret or publishable key with scope PLAYERS.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description tokenstring yes
Status Meaning 200 Success 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 WITHDRAWAL_NOT_CANCELLABLE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/wins E-071
My wins
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery string
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/wins/{id} E-072
One of my wins
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 WIN_NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/wins/{id}/claim E-073
Submit a prize claim
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description choice"PRIZE" | "CASH_ALTERNATIVE" yes deliveryAddressIdstring A UUID. publicityobject yes publicity.allowNameboolean yes publicity.allowMediaboolean yes acceptPrizeTermsboolean yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 WIN_NOT_FOUND, NOT_FOUND 409 CLAIM_NOT_OPEN, CLAIM_DEADLINE_PASSED 422 CASH_ALTERNATIVE_NOT_OFFERED, ACKNOWLEDGEMENT_REQUIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/verification E-074
Age verification status
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/verification E-074S
Start an age verification
Document checks: images are then sent one per request to POST /uploads/verifications/{verificationId}/documents (multipart, field `kind`). A tenant that uses OneID answers `kind: REDIRECT`: send the player's browser to `url` (do not store or log it). After the journey the provider returns the browser to `returnUrl` (optional; a verified domain or allowed origin of the tenant, https, no query or fragment; a hosted-site tenant's own return page is the default) with `?reference=…&status=…`; the status in that query is only a hint: call `POST /me/verification/refresh` with the reference to read the real result.
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description purpose"FIRST_PAID_ENTRY" | "PRIZE_RELEASE" | "REGISTRATION" yes returnUrlstring
Status Meaning 201 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 UNDERAGE, ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 422 DOB_REQUIRED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId) 503 SERVICE_UNAVAILABLE
POST /me/verification/refresh E-074R
Read the result of a provider age check
Call it when the player's browser returns from the provider's journey. The provider's own answer decides: the `status` in the return query is never trusted. A finished check is not applied again. `reference` must belong to the signed-in player, otherwise NOT_FOUND. `PENDING` means the journey is not finished yet.
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description referencestring yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId) 503 SERVICE_UNAVAILABLE
GET /me/responsible-play E-075
Responsible play status
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /me/responsible-play/limits E-076
Set spend limits
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description dailyPenceinteger | null weeklyPenceinteger | null monthlyPenceinteger
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/responsible-play/limits/confirm E-109
Confirm a limit increase
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description period"DAY" | "WEEK" | "MONTH" yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/responsible-play/break E-077
Take a break
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description duration"24h" | "72h" | "7d" | "30d" | "6w" yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/responsible-play/self-exclusion E-078
Self-exclude
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description period"6m" | "1y" | "2y" | "5y" yes passwordstring yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/responsible-play/reactivate E-110
Confirm reactivation
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/preferences E-079
Preferences
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /me/preferences E-080
Update preferences
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description marketingobject marketing.emailboolean marketing.smsboolean marketing.pushboolean publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS" showInActivityFeedboolean consentWordingVersionsobject yes The wording version shown for each ticked channel (from GET /config consent.wording). consentWordingVersions.emailstring consentWordingVersions.smsstring consentWordingVersions.pushstring
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 409 WORDING_VERSION_OUTDATED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/reminders E-081
My live draw reminders
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/close E-082
Close the account
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description passwordstring yes reasonstring yes responsiblePlayboolean yes
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/data-export E-083
Request a data export
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /me/data-requests E-103
Make a data request
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description type"ERASURE" | "RECTIFICATION" | "RESTRICTION" | "OBJECTION" yes detailsstring
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/data-requests E-128
My data requests
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /me/data-exports/{id} E-129
Download my data export
`{id}` is the data request id. Needs the player token and the emailed link token in X-Export-Token (never in the URL).
Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).
Parameter In Type Required Description idpath string yes A UUID. X-Export-Tokenheader string yes The one-time link token from the export-ready email.
Status Meaning 200 The export file. 400 TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /uploads/verifications/{id}/documents E-074U
Upload an ID image for an age check
Streaming multipart route (field `file`; one image per request; JPEG, PNG or WebP up to 10 MB; PDFs are refused). Pass the document type as the `kind` query parameter. Requires a player token.
Parameter In Type Required Description idpath string yes kindquery "ID_FRONT" | "ID_BACK" | "SELFIE" yes
Status Meaning 201 Accepted; the check is now pending review. 413 PAYLOAD_TOO_LARGE, STORAGE_QUOTA_EXCEEDED
Realtime POST /events/ticket E-126
Get a one-time ticket for the event stream
Returns an opaque ticket valid for 60 seconds and one use. Open `GET /events?ticket=…` with it. `me` needs a player token.
Requires a secret or publishable key with scope READ and optionally a player access token.
Request body application/json
Field Type Required Description channelsstring[] yes activity, live-draws, competition:{uuid}, instant-wins:{uuid} or me.
Status Meaning 201 Success 400 VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /events E-090
Server-sent event stream
Open with the single-use ticket from `POST /events/ticket` (valid 60 seconds). A heartbeat comment every 25 seconds; the server closes after 10 minutes, then fetch a new ticket and reconnect with `Last-Event-ID`. The ticket is the only credential allowed in a query string.
Parameter In Type Required Description ticketquery string yes lastEventIdquery string
Status Meaning 200 text/event-stream. Each event: `id`, and `data` = {channel, data}. 400 TOKEN_INVALID, VALIDATION_FAILED
Imports POST /imports E-100
Create an import job
Requires a secret key with scope IMPORT.
Parameter In Type Required Description Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description sourceSystemstring yes profile"CANONICAL" | "WORDPRESS_WOOCOMMERCE" | "RAFFLEX" | "GENERIC_CSV" yes mode"UPSERT" | "SNAPSHOT" yes optionsobject yes manifestobject
Status Meaning 201 Success 400 VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /imports E-131
List import jobs
Requires a secret key with scope IMPORT.
Parameter In Type Required Description limitquery integer Page size, 1 to 100 (default 20). cursorquery string Opaque cursor from the previous page's `page.nextCursor`. statusquery "DRAFT" | "UPLOADED" | "VALIDATING" | "VALIDATED" | "NEEDS_FIX" | "IMPORTING" | "PAUSED" | "VERIFYING" | "COMPLETED" | "FAILED" | "FAILED_VERIFICATION" | "CANCELLED" | "ROLLING_BACK" | "ROLLED_BACK"
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /imports/{id} E-101
An import job
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PATCH /imports/{id} E-132
Update an import job
DRAFT and NEEDS_FIX only. `version` comes from E-101; a stale one answers 409 STALE_WRITE.
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/json
Field Type Required Description versioninteger yes sourceSystemstring optionsobject manifestobject
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_INVALID_STATE, STALE_WRITE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /imports/{id}/records/{entity} E-119
Push NDJSON records
Up to 10,000 records and 2 MB per request, as `application/x-ndjson`. Larger loads use the file upload (E-118).
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. entitypath string yes Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Request body application/x-ndjson
Field Type Required Description recordsobject[] yes
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_INVALID_STATE 413 PAYLOAD_TOO_LARGE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /imports/{id}/validate E-120
Start the dry run
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_INVALID_STATE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /imports/{id}/report E-121
Validation report
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
GET /imports/{id}/report/errors.csv E-121C
Validation errors as CSV
Cells are formula-neutralised.
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID.
Status Meaning 200 text/csv 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /imports/{id}/commit E-122
Commit an approved import
409 IMPORT_NOT_APPROVED until a tenant owner has approved the import in the back office.
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_NOT_APPROVED, IMPORT_INVALID_STATE 422 IMPORT_CHECKSUM_MISMATCH 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /imports/{id}/cancel E-123
Cancel an import
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 204 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_INVALID_STATE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
POST /imports/{id}/rollback E-124
Roll an import back
409 IMPORT_NOT_APPROVED until the rollback is approved in the back office; refused after go-live.
Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes A UUID. Idempotency-Keyheader string yes A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
Status Meaning 202 Success 400 VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID 401 INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED 403 SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED 404 NOT_FOUND 409 IMPORT_NOT_APPROVED, IMPORT_ROLLBACK_AFTER_GO_LIVE, IMPORT_INVALID_STATE 429 RATE_LIMITED (see Retry-After) 500 INTERNAL_ERROR (quote the requestId)
PUT /imports/{id}/files/{entity} E-118
Upload an import file in resumable chunks
Streaming route: `Content-Range`, up to 8 MB per request, up to 2 GB per file. Requires a secret key with scope IMPORT.
Parameter In Type Required Description idpath string yes entitypath string yes formatquery "CSV" | "JSONL" | "JSON" yes Content-Rangeheader string yes
Status Meaning 200 The file is complete. 202 Chunk received. 409 IMPORT_INVALID_STATE 413 PAYLOAD_TOO_LARGE 422 IMPORT_CHECKSUM_MISMATCH