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.
Header Parameters
Content-Type?string
Default
"application/json"
origin?string
Default
"https://example.com"
email?string
Format
email
Response Body
curl -X POST "https://api.<your-domain>.com/api/v1/auth/email/verify" \ -H "Content-Type: application/json" \ -H "origin: https://example.com" \ -H "Content-Type: application/json" \ -d '{}'
{
"verify": {
"success": true
}
}
{
"message": "Mail configuration missing",
"code": "MAIL_CONFIG_MISSING"
}
{
"message": "Something went wrong!",
"code": "SERVER_ERROR"
}