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. | |
https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/send?email=donald.duck@disney.com
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | id | Recording not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |