This method allows you change keyword status


  • id - integer - keyword ID

  • status - string - new status.
    can be:

    • draft

    • open

    • paused

    • closed

Expected response:

  • OK - keyword status was saved

  • NO_ACCESS - you don't have access to this keyword

  • INVALID STATUS - the status you provided doesn't exist



XML Request Example

<?xml version='1.0'?>


XML Response Example

<?xml version='1.0'?>

<time>2012-11-21 17:02:47 GMT</time>
<timestamp>1353517367 GMT</timestamp>

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 some vars

// execute request
$methodResponse = $transmitsmsAPI->setKeywordStatus($id, status);

// 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, 'error')) {
echo "Keyword status was not updated: " . (string) $xml->error;
else {
echo "Keyword has been updated";


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!