Missions

Read one mission

GET/v1/missions/{missionKey}

The same mission the feed returns, for a client showing one on a screen of its own. It includes a mission that lives only in a collection, since the caller named it.

A mission that does not exist, is switched off, whose deadline has passed, or that is hidden from this player is a 404 in every case.

AuthorizationBearer <token>

Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.

In: header

Path Parameters

missionKey*string

Query Parameters

playerId?string

Your own id for the player.

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

application/json

curl -X GET "https://example.com/v1/missions/string"
{  "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}