Missions

Accept a mission

POST/v1/missions/{missionKey}/accept

Accepts a mission the player has to accept, after which their events count toward it. There is nothing to read first, and the player need not exist yet. Accepting twice does nothing. It fails when the player is not allowed to take part, or when the mission is no longer open.

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