Finish Mission
Deprecated
POST
https://api.lootlocker.com/game/v1/event/{mission_id}/end
signature
using the following formula:SHA1(JSON Encoded Payload + Signature From Start Call + Current Player ID)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/v1/event/6/end' \
--header 'x-session-token: ' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"signature": "9b62274d68c3dd4a10eefd3691b4c6a782b71e42",
"payload": {
"finish_score": 100,
"finish_time": "01:00:00"
}
}'
Response Response Example
200 - Success
{
"success": true,
"score": 511,
"check_grant_notifications": true,
"xp": {
"previous": 0,
"current": 0
},
"levels": [
{
"level": 0,
"is_prestige": false,
"xp_threshold": 0
}
]
}
Request
Path Params
mission_id
stringÂ
required
Example:
6
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Body Params application/json
Responses
Modified at 2024-09-10 12:28:07