I'm using node.js to pull down call logs. Now I would like to download call recordings. Is there a simple JavaScript code sample for me to start from?
Is there a simple Node.js code sample for downloading call recordings?
Thanks Phong Vu. That gives me a good start.
When I log in, then run:
rcsdk.platform().get('/restapi/v1.0/account/~/recording/<recording id here>').then(function(res) {
return res.response().buffer(); // we are accessing Node Fetch's Response
}).then(function(buffer) {
}
I get the error:
"body used already for: https://platform.ringcentral.com/restapi/v1.0/account/~/recording/<recording id>"
When I put in an invalid recording id it tells me that callRecordingId is not found, but when I put a valid id in it gives me the above error
Is my get not structured properly?
When I log in, then run:
rcsdk.platform().get('/restapi/v1.0/account/~/recording/<recording id here>').then(function(res) {
return res.response().buffer(); // we are accessing Node Fetch's Response
}).then(function(buffer) {
}
I get the error:
"body used already for: https://platform.ringcentral.com/restapi/v1.0/account/~/recording/<recording id>"
When I put in an invalid recording id it tells me that callRecordingId is not found, but when I put a valid id in it gives me the above error
Is my get not structured properly?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.