Auth

Request hosted passwordless email sign-in

Hosted ceremony resolved by request host (no credential). delivery defaults to link; code/both returns an opaque challenge_id after accepted/captured delivery and HTML clients receive a same-tab confirmation form. Non-enumerating: acceptance never discloses whether the email maps to a user or claims provider delivery. Rate-limited per project/email/IP/tier.

post/auth/magic-link/send

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/magic-link/send
  • Auth: none declared

Request body

emailstring email required
return_tostring

Relative path or same-origin URL to land on after sign-in. The hosted route continues to accept the legacy returnTo spelling for compatibility.

delivery'link' | 'code' | 'both'

Response

Generic accepted acknowledgement; code/both includes challenge_id only after accepted/captured delivery.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.