We have been able to successfully send an SMS from the main number by using the admin user's JWT token and getting an access_token; however, when we try to send an SMS from a different number, we are getting the following error:
the request looks like this for the main number:
curl --request POST --url 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms' --header 'accept: application/json' --header 'authorization: Bearer <redacted>' --header 'content-type: application/json' --data '{"from":{"phoneNumber":"13234714206"},"to":[{"phoneNumber":"4695859521"}],"text":"test"}'
and for the other number
curl --request POST --url 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/sms' --header 'accept: application/json' --header 'authorization: Bearer <redacted>' --header 'content-type: application/json' --data '{"from":{"phoneNumber":"13234714206"},"to":[{"phoneNumber":"4695859521"}],"text":"test"}'
Do we need to do something to enable sending SMS from the other number (13234714206)?