News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How to manage phones inventory from API? Is there a way to manage Phone Numbers Inventory from API?
Tags: rest api
Apr 15, 2021 at 7:19am   •   2 replies  •  0 likes
Francisco Sosa

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

2 Answers
answered on Apr 15, 2021 at 9:42am  

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


 0
answered on Apr 15, 2021 at 10:49am  

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
on Feb 25, 2022 at 2:50am   •  0 likes

Hi Francisco,
I'm trying to get as much accurate info as I can from an account, and the billing API which uses the CSRFTOKEN is pretty good at displaying that info.
Could you please tell me more about how you managed to get the token? Do you need to refresh it each time? Can you use it to POST and PUT actions?
I want to assess the feasibility of using this non-exposed API, and it seems that you have figured it out.



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us