Batch Email Validator - Real time

This endpoint allows you to send us batches up to 100 emails at a time. It is rate limited to 5 uses per minute, if you exceed the rate limit, you will be blocked for 10 minutes. If you're looking to do single email validations, please use our single email validator endpoint.

If you're looking to upload files with emails greater than 100 at a time without any rate limiting restrictions, please use our Bulk File Management Endpoints which also includes anti-greylisting as an added benefit.

This endpoint can take up to 70 seconds to return the results of the entire batch. We currently don't have an SDK for this endpoint, but SDK's are available for our other endpoints.

EXAMPLE POST REQUEST


                                {
                                  "api_key":"Your API Key",
                                      "email_batch":[
                                          {"email_address": "[email protected]","ip_address": "1.1.1.1"},
                                          {"email_address": "[email protected]ple.com","ip_address": "1.1.1.1"},
                                          {"email_address": "[email protected]","ip_address": null}
                                      ]
                              }
                                
                        

GET API USAGE CODE SAMPLES


                                <?php

                                $curl = curl_init();
                                curl_setopt_array($curl, array(
                                  CURLOPT_URL => "https://bulkapi.kasplo.com/v2/validatebatch",
                                  CURLOPT_RETURNTRANSFER => true,
                                  CURLOPT_ENCODING => "",
                                  CURLOPT_MAXREDIRS => 10,
                                  CURLOPT_TIMEOUT => 0,
                                  CURLOPT_FOLLOWLOCATION => true,
                                  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                                  CURLOPT_CUSTOMREQUEST => "POST",
                                  CURLOPT_POSTFIELDS =>"{"api_key":"Your API KEY", "email_batch":[{"email_address": "[email protected].com","ip_address": "1.1.1.1"},{"email_address": "[email protected].com","ip_address": "1.1.1.1"},{"email_address": "[email protected].com","ip_address": null}]}",
                                  CURLOPT_HTTPHEADER => array(
                                    "x-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImhlbnJ5QHplcm9ib3VuY2UubmV0IiwiZXhwIjoxNTk1NzEzNTI1fQ.nzOT-bJ8_tvnrNy3t1DeIDNMXxS-YEvlCbZye-9vpr4",
                                    "Content-Type: application/json",
                                    "Cookie: __cfduid=db977bdba3d06a8c9c19b45a92d6221b41572452483"
                                  ),
                                ));
                                
                                $response = curl_exec($curl);
                                
                                curl_close($curl);
                                echo $response;
                                ?>