api:pbx:recording:send
Table of Contents
API : PBX : Send to self
Request
This is an internal API used by PBX servers.
It is invoked when a recording has completed and the employee who owns the recording wants to receive it via e-mail. This sends the e-mail on behalf of the PBX server.
| URL | https://api.telecomx.dk/pbx/recording/RECORDING_ID/send | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PBX servers. | ||
| Params | RECORDING_ID | String | Id of recording to e-mail. |
| Query | String | E-mail address of the employee. | |
Query examples
https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/send?email=donald.duck@disney.com
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Recording not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/recording/send.txt · Last modified: 2019/11/04 14:16 by Per Møller