Email Sanitizer
Our Email Sanitizer API is used to normalise email addresses by honoring things such as punycode, inbox aliases, and more.
Authentication
Please refer to the overview page for basic information, authentication, or formatting of parameters of this endpoint.
Endpoints
Sanitize an Email Address
Endpoint URL
POST /sanitizeEmail
Query Parameters
- Required Parameters
email
- The email address that should be formatted. Must be:- Email Address
- Optional Parameters
format
- Type of the response. Must be one of:- text (default)
- json
Example
CURL
curl -X POST "https://www.gentlentapis.com/tools/v1/sanitizeEmail" \
-H 'Content-Type: application/json' \
-d '{"email": "JoHn.DoE+RANDOM@YourName.xyz", "format": "json"}'
Response
{
"email": "john.doe@yourname.xyz"
}