Email Addresses
Send a verification code to an email address
Changed onSends a one-time code to the given email address so that a backend can verify the user controls it (for example, in a custom, backend-driven sign-in flow). The code is tracked on its own verification; confirm it with attempt_verification.
post/email_addresses/{email_address_id}/prepare_verification
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/email_addresses/{email_address_id}/prepare_verification
- Auth: HTTP bearer
Path parameters
email_address_idstring required
The ID of the email address to send the verification code to
Response
The verification. After prepare_verification it is pending (unverified); after attempt_verification its status reflects the attempt outcome.
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info