v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB
Magic link & OTP

Resend passwordless email

Resend a verification email if the user didn't receive it or if the previous code/link has expired

post/api/v1/passwordless/email/resend

Request body

auth_request_idstring

The authentication request identifier from the original send passwordless email request. Use this to resend the Verification Code (OTP) or Magic Link to the same email address.

Example request

{
  "auth_request_id": "h5Y8kT5RVwaea5WEgW4n-6C-aO_-fuTUW7Vb9-Rh3AcY9qxZqQ"
}

Response

Successfully resent the passwordless authentication email. Returns updated authentication request details with new expiration time.

auth_request_idstring

Unique identifier for this passwordless authentication request. Use this ID to resend emails.

expires_atstring int64

Unix timestamp (seconds since epoch) when the passwordless authentication will expire. After this time, the OTP or magic link will no longer be valid.

expires_ininteger

Number of seconds from now until the passwordless authentication expires. This is a convenience field calculated from the expires_at timestamp.

passwordless_type'OTP' | 'LINK' | 'LINK_OTP'

Example response

{
  "auth_request_id": "h5Y8kT5RVwaea5WEgW4n-6C-aO_-fuTUW7Vb9-Rh3AcY9qxZqQ",
  "expires_in": 300
}