Skip to main content
POST
/
mfa
/
setup
cURL
curl --request POST \
  --url https://gateway.architect.exchange/api/mfa/setup \
  --header 'Authorization: Bearer <token>'
{
  "secret": "<string>",
  "uri": "<string>",
  "validate_token": "<string>"
}

Authorizations

Authorization
string
header
required

User session token

Response

2FA setup initiated

secret
string
required
uri
string
required

The uri field contains a provisioning URI following the Google Authenticator format:

otpauth://totp/ADX:username?secret=BASE32SECRET&issuer=ADX&algorithm=SHA1&digits=6&period=30

This URI encodes all TOTP parameters and is typically displayed as a QR code for client apps to scan.

validate_token
string
required