Skip to main content
POST
/
validation
/
{type}
Validate a value of the given type
curl --request POST \
  --url https://demo.enneo.ai/api/mind/validation/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "user@example.com"
}
'
{
  "valid": true,
  "reason": "Invalid email address format"
}

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

type
enum<string>
required

The validation type to apply.

Available options:
email,
letterAddress

Body

application/json

The value to validate

value
string
required

The value to validate. For email, an email address. For letterAddress, a postal address (name + street + zip/city), separated by newlines or commas.

Example:

"user@example.com"

Response

Validation result

valid
boolean

Whether the value is valid

Example:

true

reason
string

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

Example:

"Invalid email address format"