= SMS gateway Portax short-message-service gateway API == DESCRIPTION Portax supports O2, TM-CZ and GTSMCConnect HTTP/REST gateway protocol. == METHODS === POST Send message. Expects UTF-8 JSON encoded data in the POST body. ==== FIELDS Required attributes. toNumber:: Recipient number in internation format text:: Message body ==== EXAMPLE {{{data.json}}} {{{ { "toNumber": "420123456789", "text": "hello world", } }}} {{{ curl -s --cert-type P12 --cert $CERT:$PASS -X POST \ -H "Content-Type: application/json" \ --data @data.json $URL/rest/sms }}} === GET Get message status ==== EXAMPLE {{{ curl -s --cert-type P12 --cert $CERT:$PASS $URL/rest/sms/::id }}}