curl --request POST \
--url https://api.example.com/api/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"full_name": "<string>"
}
'{
"id": "<string>",
"email": "<string>",
"full_name": "<string>",
"is_active": true,
"is_verified": true,
"created_at": {}
}Create a new user account
curl --request POST \
--url https://api.example.com/api/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"full_name": "<string>"
}
'{
"id": "<string>",
"email": "<string>",
"full_name": "<string>",
"is_active": true,
"is_verified": true,
"created_at": {}
}POST /api/auth/register
true.false.curl -X POST https://api.example.com/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"password": "securePassword123",
"full_name": "John Doe"
}'
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"email": "[email protected]",
"full_name": "John Doe",
"is_active": true,
"is_verified": false,
"created_at": "2026-03-03T10:30:00Z"
}
{
"detail": "Email already registered"
}
{
"detail": "Failed to register user"
}
is_active=true but is_verified=false/login endpoint after registration