Web service integration will be useful if you have a separate database which needs to be synchronized with your Sendloop subscriber lists. You can set your Sendloop account to notify your system once a subscription or unsubscription event occurs.
Sendloop will send subscriber and event data to the URL you will define. The data is transferred as XML data.
Setting Up Web Service Integration
- Login to your Sendloop account
- Click "Lists" link on the top menu
- Enter into one of the lists you have
Click "Edit List Settings" link in the list dashboard

Scroll down to "Web Services" sub-section

Check "Enable" box for the event you wish to enable the integration (subscription or unsubscription)
Once the integration is enabled for an event, Sendloop will ask you the URL of your script

Enter the URL of your script. Your script can be written in any programming language, there's no restriction.
Click "Test Web Service" button to test the integration.
Click "Save" button to save your list settings.
That's all. Sendloop will start sending the subscription (or unsubscription) data to your script for each new event.
Integrating With Your Own System
In this section, we will explain you how to get the data passed by Sendloop web service integration feature. We will provide the example in PHP language but the same process can easily be done in all other programming languages and scripts.
<?php
$SendloopData = rawurldecode($_GET['SendloopWebServiceData']);
$ObjextXML = simplexml_load_string($XMLData);
$XML_Action = $ObjextXML->action;
$XML_Time = $ObjextXML->action_timestamp;
$XML_SubscriberID = $ObjextXML->subscriber->SubscriberID;
$XML_EmailAddress = $ObjextXML->subscriber->EmailAddress;
// Do anything you want with the transferred subscriber data
?>