ASI/sms

GET ^top

ASI acts as a proxy and gets SMS stored at pySMSd as per the current application's name.

Returns

  • 200 - Returns SMSs fetched from pySMSd gateway for the logged in application
  • 405 - Incorrect HTTP verb, only GET method allowed; OR SMS functionality not enabled

POST ^top

Send one SMS message.

Parameters

number

The number to which to send the message.

text

The text of the message.

replyto

Optional sms id to which the message is a reply. This has the effect of automatically marking the given message as read.

Returns

  • 200 - Message successfully sent
  • 405 - Incorrect HTTP verb, only POST method allowed; OR SMS functionality not enabled

SUBRESOURCES ^top