Skip to main content
POST
/
customers
/
me
/
2fa
/
verify-setup
Customer 2Fa Verify Setup
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/customers/me/2fa/verify-setup \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>"
}
'
{
  "enabled": true,
  "backup_codes": [
    "<string>"
  ],
  "message": "2FA enabled. Save your backup codes — they cannot be shown again."
}

Body

application/json
code
string
required
Required string length: 6 - 8

Response

Successful Response

enabled
boolean
required
backup_codes
string[]
required
message
string
default:2FA enabled. Save your backup codes — they cannot be shown again.