Skip to content

/auth/totp/setup

POST
/auth/totp/setup
curl --request POST \
--url https://example.com/api/v1/auth/totp/setup \
--header 'Authorization: Bearer <token>'

Default Response

Media typeapplication/json
object
secret
required
string
otpauthUrl
required
string
Examplegenerated
{
"secret": "example",
"otpauthUrl": "example"
}