GetKeywords
Gets all currently enabled keywords for a license key.
Endpoint
GET (HTTP): http://sms2.esendex.us/sms.svc/GetKeywords?LicenseKey={LICENSEKEY}
Syntax
GetKeywords(LicenseKey)
Request Parameters
Parameter Name | Description | Data Type | Required | Sample Value |
---|---|---|---|---|
LicenseKey |
Your license key, as required to invoke this web service. |
GUID
|
True | F01d89fd-5155-5455-5585-e84ab8de8591 |
Response
Returns: GetKeywordsResponse
object
Code Samples
<?php
$client = new SoapClient('http://sms2.esendex.us/sms.svc?wsdl');
$lkey = array('LicenseKey' => 'YOUR LICENSE KEY');
$result = $client->GetKeywords($lkey);
print_r($result);
?>
<?php
$url = 'http://sms2.esendex.us/sms.svc/GetKeywords?LicenseKey=YOUR LICENSE KEY';
$cURL = curl_init();
curl_setopt($cURL, CURLOPT_URL, $url);
curl_setopt($cURL, CURLOPT_HTTPGET, true);
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURL, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Accept: application/json'));
$result = curl_exec($cURL);
curl_close($cURL);
print_r($result);
?>