Skip to main content
Question

How do I retrieve hard-phones device IDs?

  • December 20, 2020
  • 3 replies
  • 701 views

Hello,


By using https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/device to retrieve all the account devices, I don't see the "type:hardphone" which I am looking for in particular as I will use their device IDs in other API calls.


however, If I use https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~ it returns the associated hardphones and softphones for this extension.


Any idea on how to retrieve all the (devices ID) for hard-phones in the account?


Regards,

Ahmed

3 replies

Have you tried:

GET https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/device

Format is https://platform.devtest.ringcentral.com/restapi/v1.0/account/<accountId>/extension/<extensionId>/device


  • Author
  • New Participant
  • December 20, 2020

Yes, this returns the devices attached to my extension, not a list of all the devices in the account.


Regards,

Ahmed


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • December 20, 2020

The account device list API is an internal API. Probably, you got access to the API via your earlier request. Please submit a support ticket for help.