Devices


GEThttps://api.voxo.co/devices/{recordId}

Get Device By Id

Retrieve single device by Id

Parameters

Path
  • Name
    recordId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

{
    "id": 34,
    "tenantId": 432,
    "name": "2043",
    "mac": "00:00:00:00:00:00",
    "phLine1ExId": 160,
    "phPmId": 22,
    "deviceModel": "Polycom",
    "phonebookIds": [
        2,
        253,
        905
    ],
    "tenantName": "The White House",
    "tenantCode": "the"
}

cURL

curl --location -g \
--request GET 'https://api.voxo.co/devices/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

GEThttps://api.voxo.co/devices/?tenantId={tenantId}

Get All Devices

Retrieve devices registered to an authorized tenant account

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 34,
        "tenantId": 432,
        "name": "2043",
        "mac": "00:00:00:00:00:00",
        "phLine1ExId": 160,
        "phPmId": 22,
        "deviceModel": "Polycom",
        "phonebookIds": [
            2,
            253,
            905
        ],
        "tenantName": "The White House",
        "tenantCode": "the"
    }
]

cURL

curl --location -g \
--request GET 'https://api.voxo.co/devices/?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'