Explore Features  Free Trial

The SendLabs API

ReturnActive()

Returns all active subscribers that have been added after the date provided (optional)
Welcome To SendLabs!
/

Become an Email Marketing Pro

 
 
Subscribe
Hints tips, best practices, recent blog posts and happenings dropped into your inbox.


Subscribe to the semi-regular email newsletter from the crew at SendLabs.
 
     


/
API Methods
 
  Subscribers
AddSubscriber()
AddSubscriberWithCustomFields()
Unsubscribe()
ReturnActive()
ReturnUnsubscribed()
ReturnBounced()

Campaigns
CampaignSummary()
CampaignBounces()
CampaignClicks()
CampaignOpens()
 
     


/
API Examples
 
  .NET C# Sample
Flash Sample - Coming Soon
PHP Sample
Perl Sample
Ruby Sample
ASP Sample - Coming Soon
Python Sample



 
     
Welcome To SendLabs!
Parameters

ApiKey (Required)
    Your application authentication key. Click here to find out more
ListID (Required)
    The list you would like to return the subscribers from. Click here to find out more
Date (Optional)
    Returns all subscribers who have been added after the date provided

SOAP Sample Request

 POST /api/api.php HTTP/1.1
Host: sl5.sendlabs.com
Content-Type: text/xml; charset=utf-8
Content-Length: length

SOAPAction: "http://sl5.sendlabs.com/api/ReturnActive"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
   <ReturnActive xmlns="http://sl5.sendlabs.com/api/">
     <ApiKey>string</ApiKey>
     <ListID>int</ListID>
     <Date>string</Email>
   </ReturnActive>
 </soap:Body>
</soap:Envelope>   
   

SOAP Sample Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
<ReturnActiveResponse xmlns="http://sl5.sendlabs.com/api/">
     <Email>
     	<item>
     	<Email>string</Email>
     	</item>
     </Email>
     
     <Email>
     	<item>
     	<Email>string</Email>
     	</item>
     </Email>
     
 </ReturnActiveResponse>
 </soap:Body>
</soap:Envelope>
   

Fault Codes

200 - Invalid ListID
    The Associated List is not valid
100 - Invalid API Key
    The API key is not valid or expired