Skip to main content
POST
/
v1
/
self
/
mfa
/
verify
/
totp
/
backup
Verify a backup MFA code
curl --request POST \
  --url https://api.arklow.io/v1/self/mfa/verify/totp/backup \
  --header 'Content-Type: application/json' \
  --header 'x-arklow-auth: <api-key>' \
  --data '
{
  "device_id": "<string>",
  "code": "<string>"
}
'
{
  "data": {
    "valid": true,
    "device_id": "<string>",
    "verification_type": "totp",
    "session_mfa_not_after": "2023-11-07T05:31:56Z"
  },
  "errors": [
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

x-arklow-auth
string
header
required

Body

application/json
device_id
string
required
Pattern: ^[0-9]+$
code
string
required
Minimum string length: 6

Response

200 - application/json

Default Response

data
object
required
errors
object[] | null
required