LeaderSend API Documentation


LeaderSend API allows you to send application-generated emails without having to configure and manage delivery servers. Its goal is to provide world-class deliverability expertise to make sure your emails get delivered.


  • for PHP:
    • PHP 4.0.4 or higher
    • PHP cURL extension
  • for .NET:
    • latest C# .NET


You can install LeaderSend API Client by downloading latest zip release here.

Using the Library

Now that you have a copy of the library in your project, you're ready to start using it. All uses of the LeaderSend PHP API start by including the library and instantiating the Leadersend class:

$LS = new Leadersend('YOUR_API_KEY');

After that, you're ready to start making calls.

Example of Usage

Below is a simple example, which demonstrates how to find out if the key is valid:

$LS = new Leadersend('YOUR_API_KEY');
$response $LS->ping();
if (
printf("Error (%s): %s"$LS->errorCode$LS->errorMessage);
} else {

Need help?

If you have any questions about API and you can’t find answers in this documentation, please let us know. Contact us and we will be happy to help you.