For sending messages and phone calls using HTTP API, please refer to the Programmable SMS Documentation.


You must link your Restcomm account with TCXC SMPP account using the BYOC feature.

curl -X POST https://telecomsxchange.restcomm.com/restcomm/2012-04-24/Accounts/ACCOUNT_SID/SMS/Messages.json  \
   -d 'From=19876543212' \
   -d 'To=13216549878' \
   -d 'Body=Test SMS' \
   -d 'StatusCallback=http://status.callback.url' \
   -u 'YourAccountSid:YourAuthToken'

Example Response:


{
  "sid": "SM5dd70f7ea54e47f1a49749debeec3f7f",
  "date_created":"Thu, 19 Nov 2015 07:21:35 -0500",
  "date_updated":"Thu, 19 Nov 2015 07:21:35 -0500",
  "account_sid":"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "from":"19876543212",
  "to":"13216549878",
  "body":"Test SMS",
  "status":"sending",
  "direction":"outbound-api",
  "price":"0",
  "price_unit":"USD",
  "api_version":"2012-04-24",
  "uri":"/restcomm/2012-04-24/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/SMS/Messages/SM5dd70f7ea54e47f1a49749debeec3f7f.json"
}