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 returns your message activity (the same data as available on the overview screen).


  • offset - integer - used to specify where to start reading from in the data set - 0 being the first item.
  • limit - integer - used to specify maximum number of records to return. 0 disables any limit but should only be used for small data sets.



XML Request Example

<?xml version='1.0'?>












XML Response Example

<?xml version='1.0'?>




	<time>2009-12-21 23:08:45 GMT</time>

	<timestamp>1261436925 GMT</timestamp>






			<message>go go gadget goer</message>

			<datetime_send>2009-12-21 23:00:43</datetime_send>

			<datetime_actioned>2009-12-21 22:58:50</datetime_actioned>









			<message>hey me</message>

			<datetime_send>2009-12-21 22:50:29</datetime_send>

			<datetime_actioned>0000-00-00 00:00:00</datetime_actioned>









			<message>Haircut reminder</message>

			<datetime_send>2009-12-16 02:55:00</datetime_send>

			<datetime_actioned>2009-12-16 02:55:01</datetime_actioned>









			<message>Hi me, [opt-out-info]</message>

			<datetime_send>2009-12-14 22:20:15</datetime_send>

			<datetime_actioned>2009-12-14 22:18:20</datetime_actioned>







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

$offset = 0;

$limit = 4;

// execute request

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

// parse response into xml object

$xml = @simplexml_load_string($methodResponse);

echo 'There are ' . $xml->total . ' messages<hr />';

foreach ($xml->dataset->data as $message) {

	echo 'Message ' . (string) $message->id . ' is ' . (string) $message->status . '<br />';



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!