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 is used to get a list of your numbers (owned or shared).


This method doesn't require any parameters



XML Request Example

<?xml version='1.0'?>










XML Response Example




<time>2012-11-08 15:35:23 GMT</time>

<timestamp>1352388923 GMT</timestamp>






















PHP Example


// 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);

// execute request

$methodResponse = $transmitsmsAPI->getNumbers();

// parse response into xml object

$xml = @simplexml_load_string($methodResponse);

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

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

	echo 'Number ' . (string) $number->longcode . ' is ' . (string) $number->status . ' and will expire '.$number->date_next_charge;



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!