Skip to main content

Completing A Challenge For A Player

Whalepass.gg

Token TypeLocationFormatWhere To Find
Header TokenX-API-KEYX-API-KEY: YOURTOKENhttps://dashboard.whalepass.gg/api-key
Header TokenX-Battlepass-IdX-Battlepass-Id: YOURTOKENhttps://dashboard.whalepass.gg/campaigns
Request ParamplayerId{ "playerId": "string" }You can find in response
Body FieldgameId{ "gameId": "string" }https://www.whalepass.gg/documentation/tutorial#finding-your-game-id
Body FieldchallengeId{ "challengeId": "string" }https://dashboard.whalepass.gg/campaigns

Request:

POST https://api.whalepass.gg/players/{playerId}/progress/challenge
{
"gameId": "string",
"challengeId": "string"
}

Expected response: 200 OK

⚠️ Warning
This endpoint doesn't accept battlepassId in the request body anymore. It will work for the ACTIVE Battlepass of the game in the request body. To test specific DRAFT Battlepass, add X-Battlepass-Id header to request