Good day, im starting to test a really simple SMS app, i tried to test the default python sms code, but no SMS gets sent neither internal o real numbres, i dont get any errors, simply nothing gets sent. heres the code im using
from ringcentral import SDK
RECIPIENT = '+15622916474'
RINGCENTRAL_CLIENTID = 'XXXXXXXXX'
RINGCENTRAL_CLIENTSECRET = 'XXXXXXXXXXX'
RINGCENTRAL_SERVER = 'https://platform.devtest.ringcentral.com'
RINGCENTRAL_USERNAME = '+12107291286'
RINGCENTRAL_PASSWORD = 'XXXXXX'
RINGCENTRAL_EXTENSION = '101'
rcsdk = SDK( RINGCENTRAL_CLIENTID, RINGCENTRAL_CLIENTSECRET, RINGCENTRAL_SERVER)
platform = rcsdk.platform()
platform.login(RINGCENTRAL_USERNAME, RINGCENTRAL_EXTENSION, RINGCENTRAL_PASSWORD)
platform.post('/restapi/v1.0/account/~/extension/~/sms',
{
'from' : { 'phoneNumber': RINGCENTRAL_USERNAME },
'to' : [ {'phoneNumber': RECIPIENT} ],
'text' : 'Hello World from Python'
})