Utility | Email Deliverable | Validate
POST
/api/v0/utility/emaildeliverable
Request
Headers
Header |
Required |
Description |
Content-Type |
yes |
Type of data sent (application/json ) |
X-Auth-Token |
yes |
Authentication token |
Body
Parameter |
Required |
Type |
Description |
emails |
yes |
array |
Emails to validate (maximum 10 emails) |
Example
curl --request POST
--url https://net.wings.rs/api/v0/utility/emaildeliverable
--header 'Content-Type: application/json'
--header 'X-Auth-Token: <TOKEN>'
--data '{
"emails": [
"nbatocanin@wings.rs",
"office@wings.rs"
]
}'
Response
Body
Parameter |
Type |
Description |
email |
string |
Email address being validated |
deliverable |
boolean |
Is email address deliverable? |
message |
string |
Potential reasons why a specific validation may be unsuccessful. |
Example
{
"data": [
{
"email": "nbatocanin@wings.rs",
"deliverable": true,
"message": ""
},
{
"email": "office@wings.rs",
"deliverable": true,
"message": "The mailbox is a role based address (ex. support@…, marketing@…)."
}
]
}