Skip to content
PHP API for Silverpop
Branch: master
Clone or download
tholder Update
Updated readme.
Latest commit 07972d1 Dec 1, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Ignoring IDE folder May 2, 2014
composer.json Reverted change to composer.json Nov 5, 2016

Silverpop PHP Client Library

PHP client library for the Silverpop API.

Note. This project is not actively maintained. I suggest if it is useful, you fork your own version of it.

Pull requests that are non-breaking will be merged.


Installation via composer . Create a composer.json file in the root folder of you project and paste the code below.

    "require": {
        "simpleweb/silverpopphp": "master-dev"

With composer installed, just run php composer.phar install or simply composer install if you did a global install.



// Include the library
require_once 'vendor/autoload.php';

// Require the Silverpop Namespace
use Silverpop\EngagePod;

// Set some useful variables
$databaseID   = 'XXX';
$templateID   = 'XXX';
$contactsList = 'XXX';

// Initialize the library
$silverpop = new EngagePod(array(
  'username'       => 'XXX',
  'password'       => 'XXX',
  'engage_server'  => 4,

// Fetch all contact lists
$lists = $silverpop->GetLists(18);

// Add a record to a contact
$recipientID = $silverpop->addContact(
    'name'  => 'christos',
    'email' => '',
echo $recipientID;

// Create a new mailing and send in 1 minute
$mailingID = $silverpop->sendEmail(
  'API Mailing Test - ' . date("d/m/Y H:i:s", time()),
  time() + 60,
echo $mailingID;
You can’t perform that action at this time.