Trying to send fax using the example code: this is throwing:
Resource for parameter [accountId] is not found
The code I am using
from ringcentral import SDK
rcsdk = SDK("xxxxx...", "xxxxx...", "https://platform.devtest.ringcentral.com")
platform = rcsdk.platform()
platform.login("+15551212", "101", "password")
accountId= "+phonenumber"
extensionId= "101"
recipient="+1999..."
builder = rcsdk.create_multipart_builder()
builder.set_body({
'to' :[{'phonenumber': recipient}],
'faxresolution': "High'",
'coverPageText': "This is a fax page sent to you automatically"
})
request = builder.request(f'/restapi/v1.0/account/{accountId}/extension/{extensionId}/fax')
resp = platform.send_request(request) #Exception here
My question is what is tbe accountId, I ave been using the phonenumber listed in my account. There seems to be no other reference to accountid anywhere?