Question

How do I retrieve hard-phones device IDs?

  • 20 December 2020
  • 3 replies
  • 697 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

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


Regards,

Ahmed

Userlevel 1

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.

Reply