# Single Email

## Verify Signle Email

<mark style="color:blue;">`GET`</mark> `https://api.saino.io/api/apis/email-cleaning/verify-single`

This Endpoint you will used for verifying single email id

#### Query Parameters

| Name  | Type   | Description                        |
| ----- | ------ | ---------------------------------- |
| email | string | Email id which you want to verify. |

#### Headers

| Name  | Type   | Description                                 |
| ----- | ------ | ------------------------------------------- |
| token | string | The token provided by the saino application |

{% tabs %}
{% tab title="200 " %}

```
{
   "data":{
      "email":"any@gmail.com",
      "free_email":"true",
      "result":"Safe to Send / Unsafe to Send",
      "status":"Deliverable"
   },
   "status":"success"
}

```

{% endtab %}

{% tab title="400 " %}

```
{
    status: "failed",
    error: "" //error message
}
```

{% endtab %}
{% endtabs %}

#### Examples

{% tabs %}
{% tab title="NodeJs" %}

```
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://api.saino.io/api/apis/email-cleaning/verify-single?email=user@domain.com',
  headers: { 
    'token': '7yq7x1hlydj8hyxccfjo130m7usey6g6dyrdmc61al5411m==/twidh21609584683074'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}

{% tab title="PHP-HTTP" %}

```
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://testt.gomnp.com/api/apis/email-cleaning/verify-single?email=usr@domain.com');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'token' => '7yq7x1hlydj8hyxccfjo130msey6g6d5411m==/tw084683074'
));
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
```

{% endtab %}

{% tab title="JQuery" %}

```
var settings = {
  "url": "https://api.saino.io/api/apis/email-cleaning/verify-single?email=user@doamin.com",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "token": "7yq7x1hlydj8hyxccfjo13rdmc61al5411m==/twi9584683074"
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
```

{% endtab %}

{% tab title="Python" %}

```
import requests

url = "https://api.saino.io/api/apis/email-cleaning/verify-single?email=sahil@sainofirst.com"

payload={}
headers = {
  'token': '7yq7x1hlydj8hyxccfjo130m6e8v121609584683074',
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

```

{% endtab %}
{% endtabs %}
