post
https://your-instance.stats.pbx.commpeak.com/api/addDevice
Add Device API
Description
This endpoint is used to add a new device to the PBX system.
Request Body
deviceID(text, Required): Give your device a unique integer ID. The device will use this ID to authenticate to the system.description(text, Required): The CallerID name for this device will be set to this description until it is logged into.deviceType(text, Required): Devices can be fixed or adhoc. Fixed devices are always associated to the same extension/user. Adhoc devices can be logged into and logged out of by users.
** MISSING FEATURE CODE ** logs into a device.
** MISSING FEATURE CODE ** logs out of a device.
format(text): The format of the response.
Response Body
{
"success": "",
"message": ""
}