Auto-Login via Token
Authenticate a user via an auto-login token (from email login links or invitation emails).
Authentication: Public — token-based.
Query parameters:
token(required) — The auto-login token from the email linkto(optional) — Redirect path after loginlogin_link(optional) — Set totrueif this is from a login link emailuser_ip(optional) — Client IP for analytics
Response:
token— JWT auth tokenlocation— Redirect URL. If user needs to set a password, redirects to password setup page.- the member’s profile fields at the top level of
data(id,first_name,last_name,name,initials,email,avatar_url,status,bio,phone,website, social handles,otp_enabled,passkey_registered,last_seen_at,created_at,updated_at, …) — there is no nesteduserobject
Side effects: Triggers a UserLogin event.
Errors:
401— Invalid or expired auto-login token
Query parameters
token
Auto-login token from email link
Response
OK