curl --request POST \
--url https://api.example.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"language": "<string>"
}
'{
"timestamp": "2026-03-09T10:30:00.000+00:00",
"status": 400,
"error": "Bad Request",
"message": "Validation failed",
"errors": [
{
"field": "email",
"message": "must be a well-formed email address"
}
]
}
Create a new user account
curl --request POST \
--url https://api.example.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"language": "<string>"
}
'{
"timestamp": "2026-03-09T10:30:00.000+00:00",
"status": 400,
"error": "Bad Request",
"message": "Validation failed",
"errors": [
{
"field": "email",
"message": "must be a well-formed email address"
}
]
}
pt-BR, en-US, es.curl -X POST https://api.dailytracker.com/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"password": "securepassword123",
"language": "en-US"
}'
{
"message": "Usuário criado com sucesso!",
"userId": 123
}
{
"timestamp": "2026-03-09T10:30:00.000+00:00",
"status": 400,
"error": "Bad Request",
"message": "Validation failed",
"errors": [
{
"field": "email",
"message": "must be a well-formed email address"
}
]
}