PENNY SMS provides an JSON-RPC server for third parties to integrate
into their applications. An JSON-RPC message is an HTTP-POST request. The
body of the request is in JSON. The JSON-RPC request executes a procedure on the server
and returns a status formatted in JSON.
PLEASE NOTE: that a "Content-Type: text/json" HTTP header must be sent as part of the HTTP-POST request.
| parameter | type | definition |
|---|---|---|
| api_key | string | The API Key provided by PENNY SMS |
| from | string | Who the SMS message will appear to come from The email address where you can view replies to your outgoing messages |
| phone | string | The ten digit cell phone number More than one cell phone number can be provided, to send the same message to multiple people. Seperate multiple numbers with a space. |
| text | string | The text message. The message must be shorter than 160 characters. |
{ "method": "send",
"params": [
"YOUR_API_KEY",
"msg@mycompany.com",
"5551231234",
"Test Message from PENNY SMS"
]
}