I've gone through the "Getting Started" tutorial, and have successfully retrieved an access token and logged in.
I'm going through the "Message" tutorial, and I'm trying to send a POST request to send a test message. I couldn't figure out how to format the JSON correctly in the Rest Client chrome extension, so I'm replicating the POST message in the "Message" tutorial in a curl request. Here's the request I'm running from the command line (the fields in all caps are filled in with the correct values):
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer MY-ACCESS-TOKEN" -H "Accept: application/json" -d '{"to": [{"phoneNumber": "PERSONAL-PHONE-NUMBER"}], "from": {"phoneNumber": "SANDBOX-ACCOUNT-NUMBER"}, "text": "this is the message"}' https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/smsAnd here's the response I'm getting:
{}
"errorCode" : "FeatureNotAvailable",
"message" : "The requested feature is not available",
"errors" : [ {
"errorCode" : "MSG-242",
"message" : "The requested feature is not available"
} ]
Any Idea what might be going wrong?