Verify Clerk user TOTP
Verify a TOTP or backup code for a user in a connected Clerk application.
← All Clerk endpoints · Capability overview
/v1/clerk/users/{user_id}/verify-totphttps://api.vee3.io/v1/clerk/users/{user_id}/verify-totp
Verify a TOTP or backup code for a user in a connected Clerk application.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.verify_user_totpParameters3 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
user_idstringRequiredClerk user id (user_...) to operate on.
codestringRequiredTOTP or backup code to verify.
Response2 fields
verifiedbooleanTrue when the code is valid.
code_typestringType of code verified (for example totp or backup_code).
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required