Atlas
Auth

Sign up with email

Creates a new user account with email and password. Only available when auth mode is 'managed' (Better Auth).

POST
/api/auth/sign-up/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-up/email" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "stringst",    "name": "string"  }'
{}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string",
  "message": "string"
}