curl --request POST \
--url https://api.example.com/api/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"nombre": "<string>",
"apellido": "<string>",
"telefono": "<string>"
}
'{
"message": "<string>",
"user": {
"id": "<string>",
"email": "<string>",
"nombre": {},
"apellido": {},
"telefono": {},
"email_verified": true,
"tour_version": {},
"tour_completed_at": {}
},
"error": "<string>"
}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>",
"nombre": "<string>",
"apellido": "<string>",
"telefono": "<string>"
}
'{
"message": "<string>",
"user": {
"id": "<string>",
"email": "<string>",
"nombre": {},
"apellido": {},
"telefono": {},
"email_verified": true,
"tour_version": {},
"tour_completed_at": {}
},
"error": "<string>"
}Registers a new user in the Contafy platform. After successful registration, a verification email is sent to the provided email address.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pakomercado0517/tresa-contafy-web/llms.txt
Use this file to discover all available pages before exploring further.
false for newly registered users.curl -X POST https://api.contafy.com/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "usuario@ejemplo.com",
"password": "SecurePass123!",
"nombre": "Juan",
"apellido": "Pérez",
"telefono": "+52 55 1234 5678"
}'
{
"message": "Usuario registrado exitosamente. Por favor verifica tu correo electrónico.",
"user": {
"id": "usr_1a2b3c4d5e6f7g8h",
"email": "usuario@ejemplo.com",
"nombre": "Juan",
"apellido": "Pérez",
"telefono": "+52 55 1234 5678",
"email_verified": false,
"tour_version": null,
"tour_completed_at": null
}
}
{
"error": "VALIDATION_ERROR",
"message": "El email ya está registrado"
}
{
"error": "VALIDATION_ERROR",
"message": "El formato del email es inválido"
}