api:pbx:app:action:spy
Table of Contents
API : PBX : APP : Action : Spy
Introduction
This request will listen in on an ongoing call on another extension.
Request
| URL | https://api.telecomx.dk/pbx/app/action/spy | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| Query | device | Id | Id of device to spy with. |
| target | Id | Id of call to spy on. | |
Request example
https://api.telecomx.dk/pbx/app/action/spy?device=12345678901234567890ABCD&target=pbx4.telecomx.dk:45455544.43
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | device | Invalid device |
| 422 | target | Invalid target |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/spy.txt · Last modified: 2020/06/19 21:29 by Per Møller