Atlas
Auth

Sign in with email

Authenticates a user with email and password. Returns a session token. Only available when auth mode is 'managed'.

POST
/api/auth/sign-in/email

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/auth/sign-in/email" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "string"  }'
{}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}