Skip to content
Start in Cloud

Start TOTP setup

POST
/api/user/security/totp/setup/start
curl --request POST \
--url https://hitkeep.com/api/user/security/totp/setup/start \
--cookie hk_token=<hk_token>

Starts TOTP enrollment and returns secret + OTPAuth URI.

TOTP setup

Media type application/json
object
expires_at
string format: date-time
otpauth_url
string
secret
string
Example generated
{
"expires_at": "2026-04-15T12:00:00Z",
"otpauth_url": "example",
"secret": "example"
}