POST
/
api
/
emails
/
validate
Validate email for account sign-up
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/emails/validate \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jan@edgeimpulse.com"
}'
{
  "success": true,
  "error": "<string>",
  "email": "<string>",
  "verdict": "Valid",
  "score": 0.98015,
  "suggestion": "gmail.com",
  "local": "jan.jongboom",
  "host": "edgeimpulse.com"
}

Body

application/json
email
string
required

E-mail address to validate

Example:

"jan@edgeimpulse.com"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

email
string
required

Email address that was checked.

verdict
enum<string>
required

Classification of the email's validity status

Available options:
Valid,
Risky,
Invalid
score
number
required

This number from 0 to 1 represents the likelihood the email address is valid, expressed as a percentage.

Example:

0.98015

error
string

Optional error description (set if 'success' was false)

suggestion
string

A corrected domain, if a possible typo is detected.

Example:

"gmail.com"

local
string

The first part of the email address (before the @ sign)

Example:

"jan.jongboom"

host
string

The second part of the email address (after the @ sign)

Example:

"edgeimpulse.com"