POST
Public/api/auth/signupCreate a new user and return a 7-day JWT.
Request body
{
"name": "Alice",
"email": "alice@example.com",
"password": "minimum-6-chars"
}Response 200 OK
{
"token": "eyJhbGciOi…",
"user": {
"id": "u_123",
"name": "Alice",
"email": "alice@example.com",
"role": "user",
"plan": "Starter",
"status": "active"
}
}Errors
400Missing fields409Email already in use
curl example
curl 'https://api.leadnator.com/api/auth/signup' \
-X POST \
-H 'Content-Type: application/json' \
-d '{"name":"Alice","email":"alice@example.com","password":"minimum-6-chars"}'