Complete first-time TOTP setup

Verify TOTP code and enable 2FA. Requires the setup token from login.

Body·
required
application/json
  • setupToken
    Type: string
    required

    Token from login response

  • totpCode
    Type: string
    required

    Code from authenticator app

Responses
  • application/json
  • application/json
Request Example for post/backoffice/auth/setup-totp
curl https://rgs.jackpot.studio/backoffice/auth/setup-totp \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "setupToken": "",
  "totpCode": ""
}'
{
  "$schema": "https://example.com/schemas/SetupTOTPOutputBody.json",
  "token": "string"
}