Usage

Consuming InboxHit API is super simple. You make a simple POST request and pass JSON. In response you get a JSON object with relevant data.

Requests are made to the API endpoint: https://api.inboxhit.com/v1/validate-email

Request

Request JSON is given below.

{
    "apiKey": "YOUR API KEY",    
    "payload": "someone@disposableemail.com"
}

You can obtain your API key on the homepage.

Response

Response looks like this.

{
  "payload": {
    "wellformed": 1
    "free": 0,
    "disposable": 0,
    "spam": 0,
    "scam": 0,
    "exists": 1
  }
}

Errors

When InboxHit API returns an error, the response will look like this.

{
  "errors": [{
    "code": 103,
    "detail": "API token is not valid"
  }],
  "payload": null
}

Error code meanings are given below.

  • 100 - Unexpected error.
  • 101 - Bad input.
  • 102 - Method not found.
  • 103 - Bad auth. Normally returned if the API key is not found.
  • 104 - Access denied. Normally returned when the API key is expired.

Guides PHP

Get Started Now

Use InboxHit online solution to boost your email deliverability. Get 1000 welcome credits.

Click your favorite button below for a one-click sign-up.

Google Twitter Facebook LinkedIn

InboxHit provides solutions and services to boost email deliverability, increase email marketing efficiency and achieve 100% innox hit rate. Use InboxHit API to detect disposable emails, block disposable emails, detect and block DEAs, validate email addresses, check if a mailbox exists, reduce bounces, boost deliverability, increase email marketing efficiency, reduce email delivery costs. InboxHit API is also available on RapidAPI.