Skip to main content
The First Step
December 20, 2020
Question

How do I retrieve hard-phones device IDs?

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

    The First Step
    December 20, 2020

    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

    The First Step
    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
    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.