Appearance
Missions Guide
Time boxed engagement tasks. "Place 10 bets this week." "Wager 200 EUR today." Completions grant rewards.
Works standalone: no challenge or funded account required.
How It Works
- Operator creates mission templates in the backoffice
- Users are enrolled automatically (auto mode), join themselves (opt in), or are enrolled by the operator (targeted)
- Bets increment progress toward the goal
- On completion, a reward is granted and
mission.completedwebhook fires - A repeatable mission starts its next attempt at once, until the user reaches
maxCompletionsPerUser - If the mission expires before completion,
mission.expiredfires
Deployment Modes
| Mode | Description |
|---|---|
| Challenges + Missions | Missions drive daily activity; challenge coupled rewards feed into the next challenge |
| Missions only | Pure engagement. Rewards are free_bet, bonus_credit and the other standalone types; you fulfil them |
Mission Template Fields
| Field | Required | Default | Description |
|---|---|---|---|
name | Yes | Display name ("Weekend Warrior") | |
description | No | Longer explanation shown in the widget | |
icon | No | target | Icon name for the widget |
criteriaType | Yes | What to count (see below) | |
criteriaThreshold | Yes | Target to reach, above 0, at most 2 decimals (EUR, whole cents for the wagered types) | |
criteriaMeta | No | Extra filters for every criteria type: minOdds (only bets at these odds or higher count) and markets (only bets on these market identifiers count) | |
rewardType | No | What to grant on completion: one of the reward types in the Rewards Guide. Any other value is refused with 400 | |
rewardValue | No | Amount to grant: EUR, whole cents for money rewards, else percent, days or points | |
rewardApplyMode | No | auto | auto or claim |
enrollmentMode | No | auto | auto, opt_in or targeted (see below) |
startsAt | Yes | When the mission window opens | |
endsAt | Yes | When the mission expires | |
repeatable | No | false | If true, the next attempt starts the moment one completes, with progress back at 0 |
maxCompletionsPerUser | No | 1 | 1 to 1000. How often one user can complete (and be paid for) a repeatable mission. A mission that is not repeatable completes once, whatever this says |
sortOrder | No | 0 | Display order, lower first |
PUT takes the same fields plus enabled; an empty body answers 400 no_fields.
Repeatable missions
Each completion is one attempt with its own enrolment id and its own reward. With repeatable: true and maxCompletionsPerUser: 3, a user completes the mission at most three times in its window: the bet that completes attempt 1 counts only there, and attempt 2 starts from 0. Attempts are numbered in the database, one row per attempt, so a replayed or parallel bet can never open the same attempt twice or pay a fourth time.
Criteria Types
| Type | What it counts | Threshold unit |
|---|---|---|
bets_placed | Accepted bet placements | Count |
bets_won | Won settlements | Count |
bets_settled | Any settlement (won or lost) | Count |
total_wagered | Cumulative stake of placements | EUR, whole cents |
odds_above | Placements at odds of at least criteriaMeta.minOdds | Count |
bet_count | Same as bets_placed | Count |
win_count | Same as bets_won | Count |
bets_placed_window, bets_won_window, total_wagered_window | Same as the type without _window | As above |
Every mission counts only inside its own window, so the _window names behave like the plain ones. For odds_above set the odds in criteriaMeta: { "criteriaType": "odds_above", "criteriaThreshold": 3, "criteriaMeta": { "minOdds": 3.0 } } means "place 3 bets at odds 3.0 or higher".
A voided bet takes its progress back from an active mission. A mission already completed stays completed and FAST opens a reconciliation flag for you to review.
Enrollment Modes
| Mode | Behavior |
|---|---|
auto | Every user takes part. The enrollment is created on the user's first qualifying bet |
opt_in | The user clicks "Join" in the widget, or you call POST /users/:id/missions/:id/join. Only bets after joining count |
targeted | Only the users the operator enrolls take part: POST /v1/admin/missions/:id/enroll with { "userIds": [...] } (at most 500 per call), or the enroll button on the mission in the backoffice. The widget does not offer a targeted mission to anyone else, and users cannot join it themselves. |
Targeted enrolment works while the mission is enabled and has not ended, so you can enroll users before it starts; their progress counts from startsAt. A user already enrolled is returned in skipped, so sending the same list twice enrolls nobody twice. A 409 mission_not_targeted means the mission uses another mode; a 404 mission_not_found means it is unknown, disabled or over.
Join answers 409 with mission_not_found (no enabled mission running now with that id), mission_not_opt_in or max_completions_reached.
API Reference
Operator (admin)
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/admin/missions | List all mission templates |
| POST | /v1/admin/missions | Create a mission template |
| PUT | /v1/admin/missions/:id | Update a mission |
| DELETE | /v1/admin/missions/:id | Disable a mission (it is kept, answers disabled: true) |
| POST | /v1/admin/missions/:id/enroll | Enroll users in a targeted mission |
| GET | /v1/admin/missions/stats | Global mission stats |
| GET | /v1/admin/missions/:id/stats | Stats for a specific mission |
Public (widget key)
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/users/:userId/missions | active (with progressPercent, 0 to 1), available, and the last 10 completed |
| POST | /v1/users/:userId/missions/:id/join | Join an opt in mission |
SDK Usage
typescript
import { FastClient } from '@fundedfast/sdk';
const fast = new FastClient({ apiKey: 'key-...' });
// List missions
const missions = await fast.admin.missions.list();
// Create a mission
await fast.admin.missions.create({
name: 'Weekend 10',
criteriaType: 'bets_placed',
criteriaThreshold: 10,
rewardType: 'free_bet',
rewardValue: 5,
enrollmentMode: 'auto',
startsAt: '2026-07-05T00:00:00Z',
endsAt: '2026-07-07T23:59:59Z',
});
// Enroll users in a targeted mission
const { enrolled, skipped } = await fast.admin.missions.enroll(missionId, ['player-42', 'player-77']);
// Get user missions (public)
const { active, available, completed } = await fast.admin.missions.getUserMissions('player-42');
// Join an opt in mission for a user
await fast.admin.missions.join('player-42', missionId);Webhook Events
| Event | When |
|---|---|
mission.enrolled | User enrolled (first qualifying bet, join, operator enrolment, or the next attempt of a repeatable mission) |
mission.progress | Progress crossed 50% of the target |
mission.completed | Target reached, reward granted. Data: missionId (the enrolment), missionTemplateId, missionName, rewardType, rewardValue, rewardId (null and 0 when nothing was granted) |
mission.expired | Time ran out before completion |
In every mission event missionId is the user's enrolment (one attempt) and missionTemplateId is the mission you created. mission.completed carries the reward as granted: rewardId, rewardType and rewardValue in EUR for money types. See Webhook Events.
Widget Display
Missions appear as collapsible rows in the Missions tab:
- In Progress (blue accent): progress bar, time remaining
- Available (neutral): description, join button (opt in) or auto badge
- Completed (grey): done checkmark, completion date