Validate Email

Use /validate endpoint and pass array of email addresses to asynchronosly get Email validation status.

Endpoint: https://emailvalidatorsfmc.herokuapp.com/validate

Request

Parameter Type Position # Description
email Array Body Required Array of comma seperated email addresses
config Object Body Required Possible config values
config.showValid Boolean Body Required To return/ not return valid email address.
Possible values - true/ false.

Request

{
  "email": [
    "mathes.btech@gmail.com",
    "_CARISSA@FUSE.NET",
    "_CARROLLC@EXCITE.COM",
    "_DARKWHISPER_@IGNMAIL.COM",
    "_GEORGETM@EXCITE.COM"
  ],
  "config": { 
    "showValid": true 
  }
}

Response

{
    "requestId": "765d7086-5bf8-4dd2-911d-e7163d65d29e",
    "statusCheck": "https://emailvalidatorsfmc.herokuapp.com/validate/765d7086-5bf8-4dd2-911d-e7163d65d29e"
}

Get Status

From /validate POST request, get the request ID and use it as below.

Endpoint: https://emailvalidatorsfmc.herokuapp.com/validate/:id

Note:
  • A request id can be used Only once
  • If a request is incomplete, status will be 'Pending'
  • If a result was consumed, a status of 'Unknown request ID/ response already fetched' will be returned


Request

Parameter Type Position # Description
id UUID URL Required Valid request ID

Request

https://emailvalidatorsfmc.herokuapp.com/validate/765d7086-5bf8-4dd2-911d-e7163d65d29e

Response

{
  "mathes.btech@gmail.com": "Valid",
  "_CARISSA@FUSE.NET": "smtp: Timeout",
  "_CARROLLC@EXCITE.COM": "smtp: Mailbox not found.",
  "_DARKWHISPER_@IGNMAIL.COM": "smtp: undefined",
  "_GEORGETM@EXCITE.COM": "smtp: Mailbox not found."
}