Tutorial section - SMS

Send SMS with REST using PHP

Sending SMS with the REST API using the PHP programming language

The cURL extension to PHP can be used to make REST calls.

REST requirements

REST (REpresentational State Transfer) uses the HTTP protocol (HTTPS) for conveying SMS operations. A REST account can easily be obtained for using the Tyr SMS Gateway. REST uses JSON to carry the parameters that relate to the REST operation that you are performing. The following are required to send SMS with REST:

  • REST API Key - API key for the REST SMS API of the Melrose Labs Tyr SMS Gateway

PHP requirements

Ruby is a programming language and can be used to quickly and easily add SMS support for programmatically sending and receiving SMS messages. The following are required to send SMS using PHP:

  • PHP - PHP programming/scripting language