Skip to content

Sign-up user for TOTP second factor.

GET
/api/auth/v1/totp/register
curl --request GET \
--url https://example.com/api/auth/v1/totp/register

TOTP secret and QR code URI.

Media type application/json
object
png
string | null
totp_url
required
string
Example generated
{
"png": "example",
"totp_url": "example"
}