Using the API reference page here for sending SMS
https://developers.ringcentral.com/api-reference/SMS/createSMSMessage
I click on “try it out”
select Production
Authorize
Then the next time I click on “try it out” it appears I have a token in the code window with CURL.
I Use ~ for accountid and extension.
Then I pick one of the numbers to be a from number
and my personal phone as to
and then cut and paste to a command window to run curl from my local machine.
The result is always this
{
"errorCode" : "TokenInvalid",
"message" : "Token not found",
"errors" : [ {
"errorCode" : "OAU-213",
"message" : "Token not found"
} ]
}