LabStack Docs
Login Signup

Email Verify

Real-time email address verification

Request

GET https://email.labstack.com/api/v1/verify/:email

Parameter Description Type Required Default
email Email address to verify String Yes
curl \
  -X GET https://email.labstack.com/api/v1/verify/[email protected] \
  -H 'Authorization: Bearer <API_KEY>'
c := labstack.NewClient("<API_KEY>")
s := c.Email()
res, err := s.Verify(&email.VerifyRequest{
  Email: "[email protected]",
})
if err != nil {
  fmt.Println(err)
}
Client client = new Client("<API_KEY>");
EmailService service = client.email();
try {
  VerifyRequest request = VerifyRequest.builder().email("[email protected]").build();
  VerifyResponse response = service.verify(request);
} catch (LabStackException e) {
  e.printStackTrace();
}
const client = new Client("<API_KEY>")
const service = client.email();
try {
  const response = await service.verify({
    email: "[email protected]"
  });
} catch (error) {
  console.error(error);
}
client = Client("<API_KEY>")
service = client.email()
try:
  response = service.verify({
    "email": "[email protected]"
  })
except LabStackError as e:
  print(e)

Response

{
  "email": "[email protected]",
  "username": "jon",
  "domain": "labstack.com",
  "result": "deliverable",
  "flags": ["catchall"]
}
Parameter Description Type
email Email address String
username Email username String
domain Email domain String
result Verification result Enum (Result)
flags Result flags []String (Flags)

Result

Flags