Our VoIP platform allows you to send SMS text messages from your control panel. You can send messages from any phone number on your account.
To send a text message, simply click on SMS Overview in your control panel.
You can enter the numbers you want to send messages to in the To field, and you can use commas or semicolons to separate multiple recipients. If you have populated the directory in your control panel (in the contacts section of the left hand menu) the system will search for matching entries as you type.
The From field can be used to choose which of your number you want to send the message from. This will be shown to the other party.
The only thing left to do is to enter your message and click send. Don't forget that you will be charged for each message that you send.
What happens if someone replies to my message?
You can control where any replies are sent to using the Configure Incoming SMS section of your control panel. We can forward messages to email addresses, phone numbers and for advanced users, your own system. For more information please read this guide.
If you would like to automatically send SMS from one of your systems, it is easy to generate a request to our severs.
You must simply send an HTTP POST to http://call-api.gradwell.net/0.9.3/sms with the following parameters:
- auth: An authentication token, configured on the SMS API page in your control panel
- originator: This must be the caller ID for the SMS, which must be a phone number on your account in full international format, e.g. 441112233445. We may also permit specific text names to be used as the originator - please contact us for assistance
- destination: The destination number in full international format, as with originator
- message: The contents of the message, up to 160 characters
The response will be a line of text, beginning with "OK:" for a successful request or, "ERR:" to indicate failure. In both cases a descriptive message will follow the status code, for example OK:Message sent, or ERR:Invalid authentication.
Using curl on a Unix/Linux system, this can be easily be performed on the command line. Create a file called for example /tmp/webcall containing:
Obviously, you will need to adjust any text in red. Then run the following command:
curl -d @/tmp/webcall http://call-api.gradwell.net/0.9.3/sms
In some cirsumstances, HTTP GET may be appropriate, and it is easier to code. Within a PHP script, you could simply write:
Creating an authentication token
To create an authentication token simply navigate to the SMS API page by selecting the link in the top menu.
Select the create new tickbox. You can also add a note to help identify the token. Click Save and the new token will be generated.