Devices
GEThttps://api.voxo.co/devices/{recordId}
Get Device By Id
Retrieve single device by IdHeader
Parameters
Path- Name
recordId*
- Type
- Integer
- Description
1234
- 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.com/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 accountHeader
Parameters
Query- Name
tenantId*
- Type
- Integer
- Description
1234
- 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.com/devices/?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'