Unmatched Competitions API

Version 1. The machine-readable description is openapi.json (OpenAPI 3.1).

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.

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.

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
keypath"HEADER" | "MOBILE" | "FOOTER"yes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryinteger
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
keysquerystringyesComma-separated block keys.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
slugpathstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
typequery"info" | "legal"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
categoryquerystring
featuredquery"0" | "1" | "true" | "false"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
emailstringyes
consentWordingVersionsobjectyesThe wording version shown for each ticked channel (from GET /config consent.wording).
consentWordingVersions.emailstring
consentWordingVersions.smsstring
consentWordingVersions.pushstring
ageConfirmedbooleanyes
sourcestringyes
honeypotstring
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409WORDING_VERSION_OUTDATED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /newsletter/subscriptions/confirm E-012

Confirm a newsletter subscription

Requires a secret or publishable key with scope READ.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
StatusMeaning
200Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

StatusMeaning
202Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
namestringyes
emailstringyes
accountEmailstring
topic"general" | "complaint" | "data_protection" | "prize" | "account" | "payment" | "responsible_play"yes
competitionIdstringA UUID.
orderNumberinteger
messagestringyes
honeypotstring
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

GET /contact-requests/{reference} E-102

Contact request status

Requires a secret or publishable key with scope READ.

ParameterInTypeRequiredDescription
referencepathstringyes
X-Complaint-TokenheaderstringyesThe tracking token from the email.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
referencepathstringyes

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
anonymousIdstringyes16 to 128 URL-safe characters.
choicesobjectyes
choices.analyticsbooleanyes
choices.marketingbooleanyes
bannerVersionstringyes
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
typepath"TERMS" | "PRIVACY" | "COOKIES" | "RESPONSIBLE_PLAY" | "COMPLAINTS" | "ACCEPTABLE_USE" | "FREE_ENTRY" | "WINNER_PUBLICITY" | "HOW_DRAWS_WORK" | "ACCESSIBILITY" | "COMPETITION_RULES_TEMPLATE"yes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
typepath"TERMS" | "PRIVACY" | "COOKIES" | "RESPONSIBLE_PLAY" | "COMPLAINTS" | "ACCEPTABLE_USE" | "FREE_ENTRY" | "WINNER_PUBLICITY" | "HOW_DRAWS_WORK" | "ACCESSIBILITY" | "COMPETITION_RULES_TEMPLATE"yes
versionpathstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
pathquerystringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

GET /openapi.json E-125

This OpenAPI document

No key needed.

StatusMeaning
200OpenAPI 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.

ParameterInTypeRequiredDescription
withCountsquery"0" | "1" | "true" | "false"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
statusquery"live" | "upcoming" | "ended"
categoryquerystring
hasInstantWinsquery"0" | "1" | "true" | "false"
endingSoonquery"0" | "1" | "true" | "false"
qquerystring
sortquery"priority" | "closing" | "newest" | "price" | "odds"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA competition id or slug.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404COMPETITION_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
fromqueryintegeryes
toqueryintegeryes
randomquery"0" | "1" | "true" | "false"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404COMPETITION_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404COMPETITION_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404COMPETITION_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryinteger
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
statusquery"upcoming" | "past"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
categoryquerystring
monthquerystring
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
typequery"main" | "instant"
categoryquerystring
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409TENANT_NOT_LIVE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND
410BASKET_EXPIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.

Request body application/json

FieldTypeRequiredDescription
competitionIdstringyesA UUID.
luckyDipQuantityintegeryes
pickedNumbersstring[]
skillAnswerOptionIdstringA UUID.
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND, COMPETITION_NOT_FOUND
409COMPETITION_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
410BASKET_EXPIRED
422BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
lineIdpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.

Request body application/json

FieldTypeRequiredDescription
luckyDipQuantityinteger
addNumbersstring[]
removeNumbersstring[]
skillAnswerOptionIdstringA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND, COMPETITION_NOT_FOUND
409COMPETITION_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
410BASKET_EXPIRED
422BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
lineIdpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND
410BASKET_EXPIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.

Request body application/json

FieldTypeRequiredDescription
codestringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND
410BASKET_EXPIRED
422COUPON_INVALID
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-Basket-TokenheaderstringThe basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND
410BASKET_EXPIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
basketTokenstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404BASKET_NOT_FOUND
410BASKET_EXPIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
basketIdstringyesA UUID.
walletobjectyes
wallet.amountPenceintegeryes
wallet.sources"CREDIT_THEN_CASH" | "CREDIT_ONLY"yes
billingAddressIdstringA UUID.
billingAddressobject
billingAddress.type"BILLING" | "SHIPPING" | "OTHER"yes
billingAddress.isDefaultboolean
billingAddress.firstNamestring
billingAddress.lastNamestring
billingAddress.companystring
billingAddress.line1stringyes
billingAddress.line2string | null
billingAddress.townstringyes
billingAddress.countystring | null
billingAddress.postcodestringyes
billingAddress.countryCode"GB" | "JE" | "GG" | "IM"yes
billingAddress.phonestring | null
acceptTermsVersionstringyes
ageConfirmedbooleanyes
eligibilityConfirmedbooleanyes
expressPerformanceRequestedboolean
cancellationRightAcknowledgedboolean
marketingOptInobject
marketingOptIn.emailboolean
marketingOptIn.smsboolean
marketingOptIn.pushboolean
consentWordingVersionsobjectThe wording version shown for each ticked channel (from GET /config consent.wording).
consentWordingVersions.emailstring
consentWordingVersions.smsstring
consentWordingVersions.pushstring
returnUrlstring
cancelUrlstring
orderButtonLabelstringyesThe exact button text shown (renderOrderButtonLabel).
cancellationWordingVersionstringyes
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403ACCOUNT_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
404BASKET_NOT_FOUND, NOT_FOUND
409TENANT_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
422DOB_REQUIRED, MAX_PER_ORDER_EXCEEDED, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT, COUPON_INVALID, ACKNOWLEDGEMENT_REQUIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)
503PAYMENTS_UNAVAILABLE

GET /orders/{id}/status E-048

Order status

Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404ORDER_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
returnUrlstring
cancelUrlstring
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404ORDER_NOT_FOUND
409ORDER_NOT_PAYABLE, PAYMENT_ATTEMPTS_EXHAUSTED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)
503PAYMENTS_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404ORDER_NOT_FOUND
409ORDER_NOT_CANCELLABLE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
emailstringyes
passwordstringyes
firstNamestringyes
lastNamestringyes
dateOfBirthstringyes
phonestring
addressobject
address.type"BILLING" | "SHIPPING" | "OTHER"yes
address.isDefaultboolean
address.firstNamestring
address.lastNamestring
address.companystring
address.line1stringyes
address.line2string | null
address.townstringyes
address.countystring | null
address.postcodestringyes
address.countryCode"GB" | "JE" | "GG" | "IM"yes
address.phonestring | null
acceptTermsVersionstringyes
acceptPrivacyVersionstringyes
marketingobjectyes
marketing.emailbooleanyes
marketing.smsbooleanyes
marketing.pushboolean
publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS"
spendLimitsobject
spendLimits.monthlyPenceintegeryes
spendLimits.weeklyPenceinteger
spendLimits.dailyPenceinteger
consentWordingVersionsobjectyesThe wording version shown for each ticked channel (from GET /config consent.wording).
consentWordingVersions.emailstring
consentWordingVersions.smsstring
consentWordingVersions.pushstring
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403UNDERAGE, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409TERMS_ACCEPTANCE_REQUIRED, WORDING_VERSION_OUTDATED
422PASSWORD_POLICY, ACKNOWLEDGEMENT_REQUIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /auth/login E-051

Log in

Requires a secret or publishable key with scope PLAYERS.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
emailstringyes
passwordstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403ACCOUNT_BLOCKED, ACCOUNT_CLOSED, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)
503AUTH_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
refreshTokenstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401AUTH_REQUIRED, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409TOKEN_ROTATED
429TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
refreshTokenstring
allDevicesboolean
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
StatusMeaning
200Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
emailstring
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /auth/password/forgot E-056

Request a password reset

Requires a secret or publishable key with scope PLAYERS.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
X-ChallengeheaderstringProof-of-work answer after a 403 CHALLENGE_REQUIRED.

Request body application/json

FieldTypeRequiredDescription
emailstringyes
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /auth/password/reset E-057

Reset or set a password

Requires a secret or publishable key with scope PLAYERS.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
passwordstringyes
StatusMeaning
204Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
422PASSWORD_POLICY
429TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
firstNamestring
lastNamestring
phonestring | null
publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS"
showInActivityFeedboolean
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
dateOfBirthstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403UNDERAGE, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409DOB_ALREADY_SET
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
newEmailstringyes
passwordstringyes
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
currentPasswordstringyes
newPasswordstringyes
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
422PASSWORD_POLICY
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
type"BILLING" | "SHIPPING" | "OTHER"yes
isDefaultboolean
firstNamestring
lastNamestring
companystring
line1stringyes
line2string | null
townstringyes
countystring | null
postcodestringyes
countryCode"GB" | "JE" | "GG" | "IM"yes
phonestring | null
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
type"BILLING" | "SHIPPING" | "OTHER"yes
isDefaultboolean
firstNamestring
lastNamestring
companystring
line1stringyes
line2string | null
townstringyes
countystring | null
postcodestringyes
countryCode"GB" | "JE" | "GG" | "IM"yes
phonestring | null
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
statusquery"live" | "ended" | "won"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404ORDER_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
lineIdsstring[]
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404ORDER_NOT_FOUND
409ORDER_NOT_CANCELLABLE, CANCELLATION_WINDOW_CLOSED, REFUND_NOT_ALLOWED, TICKET_HAS_PRIZE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
accountTypequery"CASH" | "CREDIT"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
statusquerystring
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
amountPenceintegeryes
bankobjectyes
bank.accountNamestringyes
bank.sortCodestringyes
bank.accountNumberstringyes
passwordstring
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403AGE_VERIFICATION_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409WALLET_INSUFFICIENT, WALLET_LOCKED
422WITHDRAWAL_MIN, BANK_DETAILS_INVALID
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409WITHDRAWAL_NOT_CANCELLABLE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
StatusMeaning
200Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
tokenstringyes
StatusMeaning
200Success
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409WITHDRAWAL_NOT_CANCELLABLE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
statusquerystring
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404WIN_NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
choice"PRIZE" | "CASH_ALTERNATIVE"yes
deliveryAddressIdstringA UUID.
publicityobjectyes
publicity.allowNamebooleanyes
publicity.allowMediabooleanyes
acceptPrizeTermsbooleanyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404WIN_NOT_FOUND, NOT_FOUND
409CLAIM_NOT_OPEN, CLAIM_DEADLINE_PASSED
422CASH_ALTERNATIVE_NOT_OFFERED, ACKNOWLEDGEMENT_REQUIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
purpose"FIRST_PAID_ENTRY" | "PRIZE_RELEASE" | "REGISTRATION"yes
returnUrlstring
StatusMeaning
201Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403UNDERAGE, ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
422DOB_REQUIRED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)
503SERVICE_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
referencestringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)
503SERVICE_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
dailyPenceinteger | null
weeklyPenceinteger | null
monthlyPenceinteger
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
period"DAY" | "WEEK" | "MONTH"yes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
duration"24h" | "72h" | "7d" | "30d" | "6w"yes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
period"6m" | "1y" | "2y" | "5y"yes
passwordstringyes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
marketingobject
marketing.emailboolean
marketing.smsboolean
marketing.pushboolean
publicDisplay"STANDARD" | "INITIALS_ONLY" | "ANONYMOUS"
showInActivityFeedboolean
consentWordingVersionsobjectyesThe wording version shown for each ticked channel (from GET /config consent.wording).
consentWordingVersions.emailstring
consentWordingVersions.smsstring
consentWordingVersions.pushstring
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
409WORDING_VERSION_OUTDATED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
passwordstringyes
reasonstringyes
responsiblePlaybooleanyes
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
type"ERASURE" | "RECTIFICATION" | "RESTRICTION" | "OBJECTION"yes
detailsstring
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque cursor from the previous page's `page.nextCursor`.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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).

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
X-Export-TokenheaderstringyesThe one-time link token from the export-ready email.
StatusMeaning
200The export file.
400TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyes
kindquery"ID_FRONT" | "ID_BACK" | "SELFIE"yes
StatusMeaning
201Accepted; the check is now pending review.
413PAYLOAD_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

FieldTypeRequiredDescription
channelsstring[]yesactivity, live-draws, competition:{uuid}, instant-wins:{uuid} or me.
StatusMeaning
201Success
400VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
ticketquerystringyes
lastEventIdquerystring
StatusMeaning
200text/event-stream. Each event: `id`, and `data` = {channel, data}.
400TOKEN_INVALID, VALIDATION_FAILED

Imports

POST /imports E-100

Create an import job

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
sourceSystemstringyes
profile"CANONICAL" | "WORDPRESS_WOOCOMMERCE" | "RAFFLEX" | "GENERIC_CSV"yes
mode"UPSERT" | "SNAPSHOT"yes
optionsobjectyes
manifestobject
StatusMeaning
201Success
400VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

GET /imports E-131

List import jobs

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
limitqueryintegerPage size, 1 to 100 (default 20).
cursorquerystringOpaque 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"
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

GET /imports/{id} E-101

An import job

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.

Request body application/json

FieldTypeRequiredDescription
versionintegeryes
sourceSystemstring
optionsobject
manifestobject
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_INVALID_STATE, STALE_WRITE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
entitypathstringyes
Idempotency-KeyheaderstringyesA 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

FieldTypeRequiredDescription
recordsobject[]yes
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_INVALID_STATE
413PAYLOAD_TOO_LARGE
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /imports/{id}/validate E-120

Start the dry run

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_INVALID_STATE
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

GET /imports/{id}/report E-121

Validation report

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
StatusMeaning
200text/csv
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_NOT_APPROVED, IMPORT_INVALID_STATE
422IMPORT_CHECKSUM_MISMATCH
429RATE_LIMITED (see Retry-After)
500INTERNAL_ERROR (quote the requestId)

POST /imports/{id}/cancel E-123

Cancel an import

Requires a secret key with scope IMPORT.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
204Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_INVALID_STATE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyesA UUID.
Idempotency-KeyheaderstringyesA UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.
StatusMeaning
202Success
400VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID
401INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED
403SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED
404NOT_FOUND
409IMPORT_NOT_APPROVED, IMPORT_ROLLBACK_AFTER_GO_LIVE, IMPORT_INVALID_STATE
429RATE_LIMITED (see Retry-After)
500INTERNAL_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.

ParameterInTypeRequiredDescription
idpathstringyes
entitypathstringyes
formatquery"CSV" | "JSONL" | "JSON"yes
Content-Rangeheaderstringyes
StatusMeaning
200The file is complete.
202Chunk received.
409IMPORT_INVALID_STATE
413PAYLOAD_TOO_LARGE
422IMPORT_CHECKSUM_MISMATCH