Send the second-factor code for a sign-in
One step with Clerk. We can help you get access.
Get something done
Send the second-factor code for a sign-in
with Clerk · Identity & Access Management
Works with AI assistants
Use Clerk: its Clerk Frontend Sign Ins API lets you send the second-factor code for a sign-in in a single step (POST /v1/client/sign_ins/{sign_in_id}/prepare_second_factor). Clerk also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I send an MFA code by SMS once a sign-in needs a second factor?
- What starts the two-factor step for a sign-in that says needs_second_factor?
Say it to your AI assistant
- Send a second-factor code for sign-in {sign_in_id} to phone {phone_number_id}.
- Prepare the MFA step for sign-in {sign_in_id} using {strategy}.
For your developer
POST /v1/client/sign_ins/{sign_in_id}/prepare_second_factor in Clerk Frontend Sign Ins API. Full spec on APIs.io.