We created a new viewing experience for our SMS API documentation. It's now all in one central location. Click here to check it out!

This method retrieves opt-outs for a message.


  • message_id - integer - message identifier
  • offset - integer - where to begin reading the dataset from
  • limit - integer - the number of responses to return



XML Request Example

<?xml version='1.0'?>













XML Response Example

<?xml version='1.0'?>




	<time>2010-04-21 04:16:33 GMT</time>

	<timestamp>1271823393 GMT</timestamp>






			<datetime_entry_orig>2010-01-22 04:05:35</datetime_entry_orig>

			<datetime_entry_local>2010-01-22 07:05:35</datetime_entry_local>




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

$message_id = 1076;

$offset = 0;

$limit = 10;

// execute request

$methodResponse = $transmitsmsAPI->getMessageOptOuts($message_id, $offset, $limit);

// parse response into xml object

$xml = @simplexml_load_string($methodResponse);

echo '<pre>';


echo '</pre>';