Messaging Service API Example for PHP