Create TOTP secret
Create a new TOTP verification record and generate a new TOTP secret for the user. This secret can be used to bind a new TOTP verification to the user's profile. The verification record must be verified before the secret can be used to bind a new TOTP verification to the user's profile.
POST /api/experience/verification/totp/secret
curl \
-X POST https://[tenant_id].logto.app/api/experience/verification/totp/secret
Response examples (200)
{
"verificationId": "string",
"secret": "string",
"secretQrCode": "string"
}