I need someone to write a custom gateway for the SMS framework for Drupal (PHP). Instructions for that here: [login to view URL]
Looks pretty straight forward. Here are the details for the gateway:
To send a message, you POST a JSON object with the required parameters.
The URL is http://XXX
your apiKey is XXX
To send a message, send a POST request with these arguments:
apiKey (string)
senderNumber (string) - this must be a 10digit number
numbers (jsonlist) - this is a list of strings
message (string) - this is the message to send
You will get back a reply that either has two fields:
success (optional boolean)
error (optional string)
Here is an example POST:
{"message":"Here is the msg","numbers":["5551112222","5552223333"],"senderNumber":"5554446666","apiKey":"XXX"}
Here is an example reply:
{"success":true}
Thanks.