Sign in with email and password
POST
/api/auth/sign-in/emailRequest body
requiredapplication/jsonemailstring<email>requiredpasswordstringrequiredcallbackURLstringrememberMebooleantrustedDeviceTokenstringSkips the TOTP challenge for a previously trusted device.
Responses
200
Signed in; Set-Cookie headers carry the access and refresh
tokens. When two-factor is required, success is false and
reason is two_factor_required.
successbooleanrequiredAllowed:
truetokenstringAccess token (also delivered via Set-Cookie in cookie mode).
refreshTokenstringRotation token for /api/auth/update-session.
redirectbooleanWhether url should be navigated to.
urlstringValidated landing URL.
userUserShow propertiesHide properties
idstringemailstring<email>namestringimagestringemailVerifiedboolean400
Invalid body or untrusted callbackURL.
successbooleanrequiredAllowed:
falsereasonstringrequired401
Bad credentials.
successbooleanrequiredAllowed:
falsereasonstringrequired403
Cross-site request rejected by CSRF validation (Fetch Metadata / Origin). Same-origin and explicitly trusted origins are unaffected.
successbooleanrequiredAllowed:
falsereasonstringrequired