Missions
List a player's missions
GET
/v1/missionsReturns the player's missions: the ones they are already in, and the ones they have not started.
A mission the player can start but has not is Available, and one they
cannot start yet is Locked. Reading this starts nothing: a mission
starts on the player's first event it counts, or when they accept it if it
asks them to.
Authorization
ApiKey AuthorizationBearer <token>
Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.
In: header
Query Parameters
playerId?string
Your own id for the player.
take?integer
Cap the number of missions returned. Null = no cap.
Format
int32includeCompleted?boolean
Whether to include already-completed missions.
languageCode?string
Preferred locale for mission text; null = each text's default locale.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/missions"[ { "missionKey": "string", "name": "string", "description": null, "unlockMessage": null, "images": { "property1": "string", "property2": "string" }, "status": "Available", "optInMode": "Automatic", "isAccepted": true, "occurrenceNumber": 0, "objectives": [ { "objectiveId": "1ac8be30-2b34-409a-be6d-40652b73c978", "description": null, "order": 0, "isSatisfied": true, "progress": { "kind": "TowardTarget", "actual": null, "operator": null, "target": null, "fraction": null } } ], "rewards": [ { "kind": "Points", "pointsAmount": null, "catalogItemKey": null, "catalogItemValue": null } ], "startedAtUtc": null, "acceptedAtUtc": null, "completedAtUtc": null, "availableUntilUtc": null, "claimRequired": true, "claimId": null }]