Mail Verification
Introduction
Mail verification functions allows you to check if certain mail is valid , reachable, deliverable or of disposable types or not. You can use this function to prevent onboarding user to not use disposable mail
Endpoint
POST
  https://api.oyyi.xyz/v1/mail-verifierContent-Type: application/json
Parameters
email required
- Type:
String
- Allowed:
Email Address
- Type:
Example
Python
import requestsurl = $BASE_URL/mail-verifierstoken = 'your_bearer_token_here'headers = {'Authorization': f'Bearer {token}'}data = { "email": 'myfakemail@dummy.com'};response = requests.post(url,params=data, headers=headers)print(response.text)
Response
Default
{ "data": { "email": "myfakemail@dummy.com", "reachable": false, "username": "myfakemail", "domain": "dummy.com", "syntax_valid": true, "inbox_full": false, "catch_all_mail": true, "mail_disabled": false, "mail_deliverable": false, "gravatar": null, "disposable": false, "role_account": false, "free_account": false, "has_mx_records": true }}
Table of Contents