Skip to main content
The First Step
Dec 20, 2020 2:34 PM UTC
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
    Dec 20, 2020 3:11 PM UTC

    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
    Dec 20, 2020 4:02 PM UTC

    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
    Dec 20, 2020 6:47 PM UTC

    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.