Here is an example sh script that will send an SMS using your babelforce account API credentials:
ACCESS_ID='yourlongbabelforceapiaccessidgoeshere' ENDPOINT="https://services.babelforce.com/api/1/sms" curl $ENDPOINT \ |
It's that simple.
Running the above on the command line will give this output:
{
"data" : {
"sms" : {
"id" : 32205,
"dateCreated" : "2014-11-13T15:50:08.389Z",
"type" : "outbound",
"displayName" : "491221312333",
"to" : "4415112893779",
"state" : "queued",
"message" : "your message here"
},
"message" : "sms sent to 4415112893779",
"success" : true
}