Get the availability of a given reply keyword.
A reply keyword allows you receive incoming text messages to your account by providing people with a keyword, which they text to the short code 88802, e.g. text 'INFO' to 88802 to see this in action.
$result = $tmClient->getKeyword('gold'); $available = $result['available'] ? 'is' : 'is not'; $recycled = $result['recycle'] ? 'is' : 'is not'; echo "The keyword 'gold' $available available, and $recycled recycled";
Our example code is an illustration of how you might integrate with our systems and is not certified for production environments. You are responsible for testing and QA.