v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
Email Addresses

Send a verification code to an email address

Sends 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

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.

objectstring

The type of the verification object.

idstring

The ID of the verification. Pass this to attempt_verification.

statusstring

The status of the verification (unverified, verified, expired, or failed).

strategystring

The verification strategy (email_code or phone_code).

attemptsinteger nullable

The number of attempts made against this verification.

expire_atinteger nullable

Unix timestamp (milliseconds) at which the code expires.

channelstring nullable

The channel the code was sent over (phone numbers only).