Send verification email
Send a verification email to the user email address. The email is only sent if have configured SMTP mail server are configured at the time of deploying LogChimp.
curl -X POST "http://localhost:8000/api/v1/auth/email/verify"{
"verify": {
"success": true
}
}{
"message": "Enter valid email",
"code": "EMAIL_INVALID"
}{
"message": "User not found",
"code": "USER_NOT_FOUND"
}{
"message": "Your email has already been verified.",
"code": "EMAIL_VERIFIED"
}{
"message": "Something went wrong!",
"code": "SERVER_ERROR"
}{
"message": "Mail configuration missing",
"code": "MAIL_CONFIG_MISSING"
}