This method is used to add a new contact list to an account.


  • name - string - list name



XML Request Example

<?xml version='1.0'?>

<name>New List</name>

XML Response Example

<?xml version='1.0'?>

<time>2009-12-11 01:47:57 GMT</time>
<timestamp>1260496077 GMT</timestamp>
<name>New List</name>

PHP Example

Download the PHP API Client


// change api key and secret to your own
$myAPIKey = "API_KEY";
$myAPISecret = "API_SECRET";

// include base class

// create new client object
$transmitsmsAPI = new transmitsmsAPI($myAPIKey, $myAPISecret);

// set parameters
$name = 'My New List';

// execute request
$methodResponse = $transmitsmsAPI->addContactList($name);

// parse response into xml object
$xml = @simplexml_load_string($methodResponse);

// an error has occurred (usually this is because the list name already exists)
if (property_exists($xml, 'response') && preg_match('/^Error/', $xml->response)) {
echo "List was not added: " . (string) $xml->response;
else {
echo "List has been added";


GET Example

Using a URL based request system you can request this method by using the below URL - be sure to url encode all your variables!