curl --request POST \
--url https://api.example.com/api/auth/verify-email \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"message": "<string>",
"error": "<string>"
}Verify a user email address using a verification token
curl --request POST \
--url https://api.example.com/api/auth/verify-email \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'{
"message": "<string>",
"error": "<string>"
}Verifies a user’s email address using the token sent to their email during registration. This endpoint confirms that the user has access to the email address they provided.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.
curl -X POST https://api.contafy.com/api/auth/verify-email \
-H "Content-Type: application/json" \
-d '{
"token": "evt_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}'
{
"message": "Email verificado exitosamente"
}
{
"error": "INVALID_TOKEN",
"message": "El token de verificación es inválido o ha expirado"
}
{
"error": "VALIDATION_ERROR",
"message": "Token es requerido"
}
{
"error": "ALREADY_VERIFIED",
"message": "Este email ya ha sido verificado"
}
email_verified field will be set to true