This request is used to send a recording to an e-mail recipient as a user friendly HTML e-mail.
The e-mail contains, in this order and only when present on the recording:
The e-mail is written in the senders language (Danish or English) and sent with the senders name. Numbers with privacy (secret number) are hidden unless the sender is an administrator.
| URL | https://api.telecomx.dk/pbx/recording/RECORDING_ID/email | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER or ADMIN. PERSONAL may only access own recordings. | ||
| Params | RECORDING_ID | String | Id of recording to e-mail. |
| Query | String | E-mail address to send the recording to. | |
https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/email?email=donald.duck@disney.com
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Recording not found |
| 403 | access_denied | Insufficient access level |
| 422 | E-mail address is invalid | |
| 500 | internal_error | <Unspecified> |