capabilities.work

Send the first-factor code or link for a sign-in

One step with Clerk. We can help you get access.

Get something done

Send the first-factor code or link 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 first-factor code or link for a sign-in in a single step (POST /v1/client/sign_ins/{sign_in_id}/prepare_first_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 a one-time code to the user's email or phone during sign-in?
  • Can the first sign-in step use a passkey or an email link instead of a code?
Say it to your AI assistant
  • Send a first-factor code for sign-in {sign_in_id} using {strategy}.
  • Prepare first-factor {strategy} for sign-in {sign_in_id} to email {email_address_id}.
For your developer

POST /v1/client/sign_ins/{sign_in_id}/prepare_first_factor in Clerk Frontend Sign Ins API. Full spec on APIs.io.