Zum Hauptinhalt springen
POST
/
validation
/
email
Validate an email address
curl --request POST \
  --url https://demo.enneo.ai/api/mind/validation/email \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "[email protected]"
}
'
{
  "valid": true,
  "reason": "Invalid email address format"
}

Authorizations

Authorization
string
header
required

JWT-based authentication

Body

application/json

The email address to validate

value
string
required

The email address to validate

Response

Validation result

valid
boolean

Whether the email address is valid

Example:

true

reason
string

The reason why the email address is invalid (only present if valid is false)

Example:

"Invalid email address format"