2FA
POST
https://api.lootlocker.io/admin/v1/2fa
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.io/admin/v1/2fa' \
--header 'LL-Version: 2021-03-01' \
--header 'x-auth-token: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"mfa_key": "mfa_login_attempt_b87d843f34c92bb988be21ec1cc5949318e7f897b7ed5307889c949116525df5",
"secret": "810886"
}'
Response Response Example
200 - Success
{
"success": true,
"auth_token": "2068c2a0c56bca8d058a311f727d89f7233ccf24",
"user": {
"name": "Andreas Stokholm",
"email": "andreas@lootlocker.io",
"signed_up": 1606730113,
"organisations": [
{
"id": 2,
"name": "LootLocker",
"games": [
{
"id": 1,
"is_demo": false,
"name": "Rabbidt",
"badge_url": null,
"logo_url": null,
"development": {
"id": 2,
"is_demo": false,
"name": "Rabbidt",
"badge_url": null,
"logo_url": null
}
},
{
"id": 3,
"is_demo": false,
"name": "Kingfall",
"badge_url": null,
"logo_url": null,
"development": {
"id": 4,
"is_demo": false,
"name": "Kingfall",
"badge_url": null,
"logo_url": null
}
}
]
}
]
}
}
Request
Header Params
LL-Version
stringÂ
required
Example:
2021-03-01
x-auth-token
stringÂ
optional
Default:
{{admin_auth_token}}
Body Params application/json
Responses
Modified at 2025-02-12 21:00:22