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. The e-mail is sent to the employees own e-mail address.
The e-mail has the same content as the E-mail endpoint - in this order, and only when present on the recording:
The e-mail is written in the employees language (Danish or English).
| URL | https://api.telecomx.dk/pbx/recording/RECORDING_ID/send | ||
|---|---|---|---|
| Method | GET | ||
| Access level | None - may only be invoked from PBX server IP addresses. | ||
| Params | RECORDING_ID | String | Id of recording to e-mail. |
https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/send
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Not invoked from a PBX server |
| 404 | not_found | Recording not found |
| 404 | employee | Recording is a common recording with no employee, or the employee has no e-mail address |
| 500 | internal_error | <Unspecified> |