Sidebar Menu

GetKeywords

Sorry, this method does not have a description.

Request Parameters

Parameter Name Data Type Sample Input
LicenseKey: Required to authenticate users invoking this Web Service.

Trial Key. Production Key.

Guid F01d89fd-5155-5455-5585-e84ab8de8591

Response

Parameter Name Data Type Sample Output
ReturnCode: Return code for method call. Should always return NoError for GetKeywords(). String NoError
SMSKeyword: An array of keyword responses shown below.
KeywordResponseInfo

EntryDate: DateTime in UTC of when keyword was added.

Keyword: Keyword.

ShortCode: ShortCode that this keyword is assigned to.


Datetime

String

String


2010-05-11T19:17:28

Keyword27

10101

Code Samples

<?php

$url = 'http://sms2.cdyne.com/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);

?>