question

Francisco Sosa avatar image
Francisco Sosa asked Francisco Sosa answered

How to manage phones inventory from API?,Is it a way to mandage Phone Numbers Inventory from API?

I am trying to add, remove and edit the phone's inventory, it is something I am able to do from Office UI, however, I need to do it through the API, is it possible?

Regards

,

I would like to add, edit and remove phones from the Phone Inventory, using the API, is it a way to do it?


Regards

api
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered Anirban edited

Check AddressBook API here: https://developers.ringcentral.com/api-reference/address-book for getting and updating phone numbers

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Francisco Sosa avatar image
Francisco Sosa answered

Thank you for this answer @Anirban, however, what I am trying to do is to add or remove a phone number assigned to someone from the inventory of Phone Numbers, When I did it by the UI I see it is done by some call like this:


https://service.ringcentral.com/mobile/api/proxy.html?cmd=numbers.getNumbers&uuid=2105169027_1618430031842_912466_1942344027


or by similar POST where cmd has different values, but those calls are using a CSRFTOKEN instead of Barear.

Regards

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

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:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys