POST /api/auth/sign-in/email
operationId: signInEmail
Sign in with email and password
Authentication
None. Anyone can call this.
Request body
application/json
emailstringrequiredEmail of the user
passwordstringrequiredPassword of the user
callbackURLstringCallback URL to use as a redirect for email verification
rememberMetrueOnly true or omission is accepted; AgentLand sessions have a fixed30-day lifetime.
Responses
200 Success - Returns either session details or redirect URL
redirectfalserequiredtokenstringrequiredSession token
urlstring | nulluserUserrequiredidstringrequirednamestringrequiredemailstringrequiredemailVerifiedbooleanrequiredimagestringcreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredtwoFactorEnabledboolean
400 Bad Request. Usually due to missing parameters, or invalid parameters.
messagestringrequired
401 Unauthorized. Due to missing or invalid authentication.
messagestringrequired
403 Forbidden. You do not have permission to access this resource or to perform this action.
messagestring
404 Not Found. The requested resource was not found.
messagestring
429 Too Many Requests. You have exceeded the rate limit. Try again later.
messagestring
500 Internal Server Error. This is a problem with the server that you cannot fix.
messagestring