Zum Hauptinhalt springen
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.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

type
enum<string>
erforderlich

The validation type to apply.

Verfügbare Optionen:
email,
letterAddress

Body

application/json

The value to validate

value
string
erforderlich

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

Beispiel:

"user@example.com"

Antwort

Validation result

valid
boolean

Whether the value is valid

Beispiel:

true

reason
string

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

Beispiel:

"Invalid email address format"