Missions
Accept a mission
POST
/v1/missions/{missionKey}/acceptOpts the player into a manual-opt-in mission they have been offered, after which their events start counting toward it. A no-op for an already-accepted or automatic mission; fails if the player was never offered it (read the feed first) or if what they were offered has closed.
Authorization
ApiKey AuthorizationBearer <token>
Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.
In: header
Path Parameters
missionKey*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for accepting a mission.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/missions/string/accept" \ -H "Content-Type: application/json" \ -d '{ "playerId": "string" }'Empty