Skip to main content
POST
/
accounts
/
generate-totp-key
Generate TOTP key
curl --request POST \
  --url https://api.quiva.ai/accounts/generate-totp-key \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "otpauth_url": "otpauth://totp/quiva.ai:[email protected]?secret=JBSWY3DPEHPK3PXP&issuer=quiva.ai",
    "secret": "JBSWY3DPEHPK3PXP"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

TOTP key generated successfully

data
object
required