Complete TOTP enrollment

Confirms the secret returned by /user/start/setup-two-factor by submitting the current 6-digit code from the authenticator app. Returns the one-time recovery codes — show them to the user once.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required

Secret returned by /user/start/setup-two-factor.

string
required
length between 6 and 6
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json