Skip to content

API Endpoints ​

Base URL: https://api.fundedfast.eu

All authenticated endpoints require the X-API-Key header unless noted otherwise. Admin endpoints accept either a JWT (Authorization: Bearer <token> or the backoffice session cookie) or a server key with the admin scope in X-API-Key (a production key has the integration scope unless FAST changed it, see Authentication); the public widget key is refused. Super admin endpoints require the X-Super-Admin-Key header or a JWT with the fast_admin role.

Core Endpoints (Tenant API Key) ​

MethodPathPurpose
POST/v1/challenges/purchasePurchase a challenge
GET/v1/challenge-tiersList enabled challenge tiers
GET/v1/challenge-tiers/:id/termsGet tier terms and conditions
POST/v1/bets/validateSynchronous bet validation (accept/reject)
POST/v1/betsBet event ingestion (placement and settlement)
POST/v1/bets/batchBatch bet event ingestion (up to 100 per request)
GET/v1/users/:userId/progressCurrent challenge or funded account state
POST/v1/users/:userId/challenge/continueContinue a passed challenge into the reward account
POST/v1/users/:userId/challenge/refund-stakeExit a passed challenge and refund only the own stake (voids the bonus)
POST/v1/users/:userId/funded/refund-stakeRefund the own stake during the reward account phase (only if the tier allows it)
POST/v1/users/:userId/challenge/cancelCancel an active or passed challenge; no refund
POST/v1/users/:userId/funded/cancelCancel an active reward account; no refund
GET/v1/users/:userId/historyPast challenges and funded accounts
GET/v1/users/:userId/timelineFull activity timeline
GET/v1/users/:userId/rulesetActive ruleset for user
GET/v1/users/:userId/withdrawablePayout state: gross profit, the user's share, what can be requested now and why not
POST/v1/users/:userId/withdrawRequest a payout of grossAmount (the user is paid their split of it)
GET/v1/users/:userId/payout-requestsThe user's payout requests, newest first
POST/v1/users/:userId/withdrawal-eventRecord external withdrawal event
GET/v1/users/:userId/achievementsUser achievements list
GET/v1/users/:userId/rewardsUser pending/claimed rewards
POST/v1/users/:userId/rewards/:rewardId/claimClaim a reward
GET/v1/users/:userId/bonusesUser active/completed bonuses
POST/v1/users/:userId/bonuses/activateActivate a bonus offer
GET/v1/users/:userId/missionsUser mission progress
POST/v1/users/:userId/missions/:id/joinJoin a mission
GET/v1/users/:userId/tournamentsUser tournament entries
POST/v1/users/:userId/tournaments/:id/joinJoin a tournament
GET/v1/users/:userId/loyaltyUser loyalty status (points, tier, cashback)
GET/v1/leaderboardPublic leaderboard
GET/v1/tournamentsActive/upcoming tournaments
GET/v1/tournaments/:id/leaderboardTournament leaderboard
GET/v1/loyalty/tiersPublic loyalty tier definitions
GET/v1/widget/configWidget module configuration for tenant
GET/v1/reconciliation/:userIdReconciliation data with date range, 1000 bet events a page (limit up to 5000, follow nextCursor)
POST/v1/sse/tokenIssue HMAC-signed token for SSE connections
GET/v1/eventsReal-time SSE event stream

Irreversible refunds require confirmation. POST /v1/users/:userId/challenge/refund-stake and POST /v1/users/:userId/funded/refund-stake both void the bonus (and, in the reward account phase, forfeit any accrued profit above the funded base). The funded refund is possible only until the first payout, which returns the own stake itself; after it the call answers 409 stake_already_returned and the account stays open. Each requires a JSON body of { "confirm": true }. A request without it returns 400 confirmation_required. The two cancel endpoints take the same body and return the same error.

Money actions require an idempotency key. POST /v1/users/:userId/withdraw, both refund-stake endpoints, POST /v1/admin/rewards/grant, /v1/admin/rewards/bulk-grant and /v1/admin/loyalty/users/:userId/adjust require an X-Idempotency-Key header. A grant or adjustment stores its key with the row it makes, so a retry with the same key answers with that row and moves nothing, and the same key with a different request is 409 idempotency_conflict; without it they return 400 missing_idempotency_key, and 503 service_unavailable if the idempotency store is down. The SDK adds the header automatically. See Withdrawals.

Admin Endpoints (JWT or Server Key with the admin scope) ​

Challenges and Rulesets ​

MethodPathPurpose
GET/POST/v1/admin/rulesetsList or create rulesets
PUT/DELETE/v1/admin/rulesets/:idUpdate or delete a ruleset
GET/POST/v1/admin/challenge-tiersList or create challenge tiers
PUT/DELETE/v1/admin/challenge-tiers/:idUpdate or delete a challenge tier
GET/v1/admin/overviewDashboard stats (month-filterable)
GET/v1/admin/users/:userIdUser lookup with bets and challenges
POST/v1/admin/challenges/bulk-expireForce-expire overdue challenges

Bet Events ​

MethodPathPurpose
GET/v1/admin/bet-eventsQuery bet events (max 200, filter by status and userId; status=placed lists only bets still open)
POST/v1/admin/bet-events/:id/settleManually settle a bet
POST/v1/admin/bet-events/bulk-settleBulk settle multiple bets
GET/v1/admin/bet-events/exportCSV export of bet events (RFC 4180, UTF-8, ISO 8601 UTC times; a text cell starting with =, +, -, @, tab or CR gets a leading ' so a spreadsheet does not run it as a formula)

Payouts and Funded Accounts ​

MethodPathPurpose
GET/v1/admin/funded-accountsEvery funded account with its virtual figures and payout state, plus a summary over the active ones
GET/v1/admin/funded-accounts/needs-decisionClosing accounts whose final payout was rejected, and accounts that ended with payout debt written off
GET/v1/admin/payout-requestsPayout requests, newest first (filter by status, userId)
POST/v1/admin/payout-requests/:id/confirmExecute a pending payout request
POST/v1/admin/payout-requests/:id/rejectReject a pending payout request

GET /v1/admin/funded-accounts takes status (active by default, closed, revoked or all) and limit (default 200, max 2,000). Nothing in it is money owed until a payout executes: balances, gross profit and the user's share are virtual, summary.payableNow is the share users could request this minute with every condition met, summary.pending is what they have requested, and only summary.executed has been paid. Open bets are reported as open.potentialReturn (stake x odds), not as a liability. The summary always covers every active account, whatever the list filter. See Withdrawals.

Webhooks ​

MethodPathPurpose
GET/v1/admin/webhooksWebhook delivery log
GET/v1/admin/webhooks/healthWebhook delivery health stats
POST/v1/admin/webhooks/:id/retryRetry failed webhook
POST/v1/admin/webhooks/rotate-secretRotate webhook signing secret
GET/v1/admin/webhooks/dead-lettersDead letter queue
POST/v1/admin/webhooks/dead-letters/:id/replayReplay dead letter
GET/v1/admin/hooks/dead-lettersPost-bet hook dead letters (gamification/bonus/mission/loyalty accruals)
POST/v1/admin/hooks/dead-letters/:id/replayReplay a dead-letter hook run

Adapters ​

MethodPathPurpose
GET/POST/v1/admin/adaptersList or create adapter mappings
PUT/DELETE/v1/admin/adapters/:idUpdate or delete an adapter mapping

Settings ​

MethodPathPurpose
GET/v1/admin/settingsOperator settings, including timezone
GET/PUT/v1/admin/integration-modeIntegration mode (sync/async)
PUT/v1/admin/exposure-alertSet exposure alert threshold
PUT/v1/admin/settings/webhookUpdate webhook URL
PUT/v1/admin/settings/approval-urlsPurchase/withdrawal approval URLs
PUT/v1/admin/settings/challenge-limitOperator challenge limit
PUT/v1/admin/settings/currencyDefault currency
PUT/v1/admin/settings/settlement-holdHours a funded win waits before its profit is payable, { "hours": 0 } to 168 (default 72, 0 on staging)
PUT/v1/admin/settings/timezoneOperator timezone, IANA name (default Europe/Zagreb); 400 on an unknown zone or a bare offset
PUT/v1/admin/settings/exportDaily export configuration. The export webhook is signed like every other webhook (X-Webhook-Signature, X-Event-Id = daily_export:<tenantId>:<date>)
GET/v1/admin/settings/export/downloadDownload latest export
POST/v1/admin/settings/export/testTest export delivery
PUT/v1/admin/settings/widget-layoutWidget layout preferences (funded-only mode, history nav)

Achievements and Rewards ​

MethodPathPurpose
GET/POST/v1/admin/achievementsList or create achievement definitions
PUT/DELETE/v1/admin/achievements/:idUpdate or delete an achievement definition
GET/v1/admin/users/:userId/achievementsUser achievements (admin view)
POST/v1/admin/users/:userId/achievementsManually grant achievement
POST/v1/admin/achievements/bulk-grantBulk grant achievement
GET/v1/admin/rewardsPending rewards list
GET/v1/admin/rewards/historyReward application history
POST/v1/admin/rewards/grantManually grant reward
POST/v1/admin/rewards/bulk-grantBulk grant rewards
DELETE/v1/admin/rewards/:idCancel pending reward
GET/POST/v1/admin/reward-rulesList or create automated reward rules
PUT/DELETE/v1/admin/reward-rules/:idUpdate or delete a reward rule

Wagering Bonuses ​

MethodPathPurpose
GET/v1/admin/bonus-offersList bonus offer templates
POST/v1/admin/bonus-offersCreate bonus offer
PUT/v1/admin/bonus-offers/:idUpdate bonus offer
DELETE/v1/admin/bonus-offers/:idDelete bonus offer
GET/v1/admin/bonusesList active/completed bonuses (all users)
POST/v1/admin/bonuses/grantGrant bonus to specific user
POST/v1/admin/bonuses/:id/cancelCancel active bonus
GET/v1/admin/bonuses/statsBonus aggregate statistics

Missions ​

MethodPathPurpose
GET/v1/admin/missionsList mission templates
POST/v1/admin/missionsCreate mission template
PUT/v1/admin/missions/:idUpdate mission template
DELETE/v1/admin/missions/:idDisable mission template (the row stays)
POST/v1/admin/missions/:id/enrollEnroll users in a targeted mission (userIds, at most 500)
GET/v1/admin/missions/:id/statsPer-mission statistics
GET/v1/admin/missions/statsMission aggregate statistics

Tournaments ​

MethodPathPurpose
GET/v1/admin/tournamentsList tournaments
POST/v1/admin/tournamentsCreate tournament
PUT/v1/admin/tournaments/:idUpdate tournament
POST/v1/admin/tournaments/:id/cancelCancel tournament
POST/v1/admin/tournaments/:id/settleForce-settle tournament
GET/v1/admin/tournaments/:id/entriesTournament entries/leaderboard
POST/v1/admin/tournaments/:id/inviteInvite users (invite-mode)
GET/v1/admin/tournaments/:id/invitesList pending invites
GET/v1/admin/tournaments/statsTournament aggregate statistics

Loyalty Program ​

MethodPathPurpose
GET/v1/admin/loyalty/configGet loyalty configuration
PUT/v1/admin/loyalty/configUpdate loyalty configuration
GET/POST/v1/admin/loyalty/tiersList or create loyalty tiers
PUT/DELETE/v1/admin/loyalty/tiers/:idUpdate or delete a loyalty tier
GET/v1/admin/loyalty/usersList loyalty users (paginated)
GET/v1/admin/loyalty/users/:userIdUser loyalty details
POST/v1/admin/loyalty/users/:userId/adjustManual point adjustment
GET/v1/admin/loyalty/statsLoyalty aggregate statistics

Notification Channels ​

MethodPathPurpose
GET/v1/admin/notification-channelsList operator channels (Slack/Teams/Discord)
POST/v1/admin/notification-channelsCreate channel
PUT/v1/admin/notification-channels/:idUpdate channel
DELETE/v1/admin/notification-channels/:idDelete channel
POST/v1/admin/notification-channels/:id/testSend test notification

Compliance and GDPR ​

MethodPathPurpose
GET/v1/admin/users/:userId/gdpr-exportPer-user GDPR data export (downloadable JSON)
POST/v1/admin/users/:userId/gdpr-eraseGDPR erasure (requires confirmUserId in body)
POST/v1/admin/users/:userId/revoke-fundedManually revoke an active funded account

Self-Exclusion ​

MethodPathPurpose
GET/v1/admin/self-exclusionList self-excluded users
POST/v1/admin/self-exclusionExclude a user
GET/v1/admin/self-exclusion/:userIdCheck user exclusion status
DELETE/v1/admin/self-exclusion/:userIdLift exclusion

Support ​

MethodPathPurpose
GET/v1/admin/support/requestsList support requests
POST/v1/admin/support/requestsCreate support request
GET/v1/admin/support/requests/:idGet request details
POST/v1/admin/support/requests/:id/messagesAdd message to request
POST/v1/admin/support/requests/:id/closeClose a support request

Other Admin ​

MethodPathPurpose
GET/v1/admin/audit-logAdmin action audit trail
GET/v1/admin/request-logAPI request log (paginated)
GET/v1/admin/reconciliation/flagsReconciliation discrepancies
GET/PUT/v1/admin/themeOperator branding/theme
GET/v1/admin/leaderboardAdmin leaderboard view
GET/v1/admin/templatesChallenge templates (read-only)
GET/v1/admin/templates/:idTemplate details
POST/v1/admin/templates/:id/cloneClone template to tier
POST/v1/admin/clear-snapshotsClear progress snapshots

Analytics Endpoints (Admin Login or Admin Scope Key) ​

Backoffice login, or a server key with the admin scope. An integration key gets 403 insufficient_scope.

MethodPathPurpose
GET/v1/analytics/challengesChallenge analytics (day/week/month)
GET/v1/analytics/revenueRevenue analytics (day/week/month)
GET/v1/analytics/usersUser cohort analytics
GET/v1/analytics/benchmarksAnonymized cross-tenant benchmarks
GET/v1/admin/analytics/engagementDaily engagement metrics
GET/v1/admin/analytics/funnelPurchase-to-funded funnel metrics
GET/v1/admin/analytics/rewardsReward grant/consumption analytics

Audit Endpoints (Admin Login or Admin Scope Key) ​

Backoffice login, or a server key with the admin scope. An integration key gets 403 insufficient_scope.

MethodPathPurpose
GET/v1/audit/logQuery audit trail (bets or webhooks)
GET/v1/audit/exportBulk data export (GDPR Art. 20), streamed; at most 90 days and 200,000 rows of each kind per call (413 export_too_large past that), two at once per server (429 export_busy)
GET/v1/audit/retentionData retention policy

Staging Reset Endpoints (Staging Tenants Only) ​

MethodPathPurpose
POST/v1/sandbox/resetReset all staging data
POST/v1/sandbox/reset/:userIdReset staging data for specific user
POST/v1/sandbox/time-travel/:userIdMove a user forward in time (see below)

POST /v1/sandbox/time-travel/:userId lets a demo or a test play out days in seconds. { "days": 3 } (0 to 400) moves the start and end of the user's active challenge, and the last payout of their active funded account, that many days back; { "expireInSeconds": 60 } (0 to 172,800) instead puts the active challenge's end that far from now and leaves the funded account alone. The challenge is then evaluated, so an expiry applies at once. The answer is { "status": "ok", "challenge": ..., "fundedAccount": ... }, with null for whatever was not moved. It does not move a funded account's lifetime or inactivity clock. A production tenant gets 403 forbidden, like the two reset endpoints.

Super Admin Endpoints (Super Admin Key or JWT) ​

MethodPathPurpose
GET/POST/v1/super-admin/tenantsTenant management
GET/PUT/DELETE/v1/super-admin/tenants/:idGet, update, or delete a tenant (apiKeyScope: integration or admin, audited)
POST/v1/super-admin/tenants/:id/rotate-keysRotate API keys
POST/v1/super-admin/tenants/:id/planChange tenant plan tier
POST/v1/super-admin/tenants/:id/clone-to-productionClone a staging tenant to production
PUT/v1/super-admin/tenants/:id/widget-modulesConfigure widget modules
GET/v1/super-admin/tenants/:id/statsPer-tenant statistics
GET/v1/super-admin/statsCross-tenant statistics
GET/v1/super-admin/stats/usageCross-tenant usage statistics
GET/v1/super-admin/revenueRevenue analytics
GET/PUT/v1/super-admin/rule-boundariesGlobal rule boundaries
GET/POST/v1/super-admin/admin-usersAdmin user management
PUT/DELETE/v1/super-admin/admin-users/:idUpdate or delete an admin user
POST/v1/super-admin/admin-users/:id/reset-passwordReset admin password; ends every session of the account
GET/PUT/v1/super-admin/admin-users/:id/tenantsAdmin user tenant assignments
GET/v1/super-admin/analytics/revenueRevenue analytics (MRR/ARR)
GET/v1/super-admin/analytics/funnelFunnel metrics
GET/v1/super-admin/analytics/unit-economicsUnit economics
GET/v1/super-admin/analytics/tenant-healthTenant health scores
GET/v1/super-admin/analytics/retentionRetention analytics
GET/v1/super-admin/analytics/benchmarksCross-tenant benchmarks
GET/v1/super-admin/analytics/exposureCross-tenant exposure analytics
GET/v1/super-admin/engagement/overviewEngagement overview across tenants
GET/v1/super-admin/engagement/per-tenantPer-tenant engagement breakdown
GET/v1/super-admin/onboardingList onboarding requests
PUT/v1/super-admin/onboarding/:idUpdate an onboarding request
GET/v1/super-admin/maintenanceMaintenance mode status
POST/v1/super-admin/maintenance/enableEnable maintenance mode
POST/v1/super-admin/maintenance/disableDisable maintenance mode
GET/v1/super-admin/support/queueSupport queue overview
GET/PUT/v1/super-admin/support/requests/:idRead or update a support request
POST/v1/super-admin/support/requests/:id/replyReply to a support request
POST/v1/super-admin/support/requests/:id/noteAdd an internal note
GET/POST/v1/super-admin/templatesChallenge template management
PUT/DELETE/v1/super-admin/templates/:idUpdate or delete a template
GET/POST/v1/super-admin/contractsContract management
PUT/DELETE/v1/super-admin/contracts/:idUpdate or delete a contract
GET/v1/super-admin/contracts/expiringContracts nearing expiry
GET/v1/super-admin/contracts/templatesContract templates
POST/v1/super-admin/contracts/generate-pdfGenerate a contract PDF
GET/v1/super-admin/invoicesList invoices
PUT/DELETE/v1/super-admin/invoices/:idUpdate or delete an invoice
POST/v1/super-admin/invoices/generateGenerate the invoice for a tenant and period; 409 invoice_exists when a live one exists
GET/POST/v1/super-admin/demo-environmentsDemo environment management
GET/v1/super-admin/compliance-packDownload compliance document pack
GET/v1/super-admin/audit-logSuper-admin action audit trail
GET/PUT/v1/super-admin/sandbox/cleanup-configSandbox auto-cleanup configuration
POST/v1/super-admin/sandbox/cleanupRun sandbox cleanup now; staging tenants only (403 for a production tenant)

Auth Endpoints (Public) ​

MethodPathPurpose
POST/v1/auth/loginAdmin login (email/password)
POST/v1/auth/mfa/sendSend MFA OTP code via email
POST/v1/auth/mfa/verifyComplete MFA login
POST/v1/auth/mfa/disableDisable MFA
GET/v1/auth/mfa/statusCheck MFA status
POST/v1/auth/select-tenantSwitch active tenant for a multi-tenant admin
GET/v1/auth/meGet current admin user
POST/v1/auth/refreshRefresh the JWT session
POST/v1/auth/change-passwordChange password; ends every session of the account, including this one, so sign in again
POST/v1/auth/forgot-passwordRequest a reset link by email (valid 30 minutes, newest link only). Nothing changes until the link is used. Always 200
POST/v1/auth/reset-passwordSet a new password with the token from the link, { token, newPassword }. Works once; ends every session of the account. 400 invalid_reset_token or weak_password
POST/v1/auth/logoutEnd the session

Webhook Echo (Development and demo) ​

In production it serves staging tenants only: a production tenant cannot point its webhook URL at it, and its key reads nothing. It stores only deliveries signed by a tenant whose webhook URL points at the echo, and each tenant sees and clears only its own. It keeps the last 200 per tenant for 7 days.

MethodPathPurpose
POST/v1/webhook-echoReceive a signed webhook; unsigned or wrongly signed posts get 401 and are not stored
GET/v1/webhook-echoList your tenant's received webhooks (X-API-Key; the super admin key sees all)
DELETE/v1/webhook-echoClear your tenant's stored webhooks

Onboarding (Public) ​

MethodPathPurpose
POST/v1/onboarding/requestSubmit operator interest form

Health (Public) ​

MethodPathPurpose
GET/healthComponent-level health check
GET/health/readyReadiness probe (200 only when DB is reachable)
GET/health/liveLiveness probe (200 if process is running)
GET/metricsPrometheus metrics (basic auth required in production)

BLACKLINE CONSULTING d.o.o.