Validates if a given postal address has the proper format with name, street, and zip code + city
curl --request POST \
--url https://demo.enneo.ai/api/mind/validation/letterAddress \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": "John Doe\nMain Street 123\n12345 Berlin\nGermany"
}
'{
"valid": true,
"reason": "Address must have at least 3 lines: The name, 1 line for the street and 1 line for the zip code + city"
}JWT-based authentication
The postal address to validate
The postal address to validate. Can use newlines or commas as separators.
"John Doe\nMain Street 123\n12345 Berlin\nGermany"
curl --request POST \
--url https://demo.enneo.ai/api/mind/validation/letterAddress \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": "John Doe\nMain Street 123\n12345 Berlin\nGermany"
}
'{
"valid": true,
"reason": "Address must have at least 3 lines: The name, 1 line for the street and 1 line for the zip code + city"
}