Attempting to use the RestAPI's to get all the company directory. We have ~50 IVR Menus set up but their details are not extracted when calling /account/~/directory/entries
To list your company IVR menus, call the extension API with the "type" filter set to "IvrMenu". Here is the sample code in Node Js
async function list_ivr_menu(){ try{ var params = { type: ["IvrMenu"] } var resp = await platform.get('/restapi/v1.0/account/~/extension', params) var jsonObj = await resp.json() for (var record of jsonObj.records) console.log(JSON.stringify(record)) }catch(e){ console.log(e.message) } }
Thanks for your reply @Phong Vu. I have tried this and it didn't work. The resulting dataset is still empty.
I am running against production as well.
Can't find your account. Is this the account's name "Elgas Limited"?
Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.
Download RingCentral Phone for Desktop:
Tip: switch to the "sandbox mode" before logging in the app:
4 People are following this question.