Skip to content

Register a new user account

POST
/api/auth/register

Creates a new user account and sends an email verification link. Rate limited to prevent abuse.

Request Body

application/json
JSON
{
  
"email": "user@example.com",
  
"password": "SecurePass123",
  
"firstName": "John",
  
"lastName": "Doe"
}

Responses

User registered successfully

application/json
JSON
{
  
"message": "User registered successfully. Please check your email to verify your account.",
  
"id": "550e8400-e29b-41d4-a716-446655440000"
}

Playground

Body

Samples

Powered by VitePress OpenAPI