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. A caller with a secret number (privacy) is shown as a hidden number - “Hemmeligt nummer” / “Hidden number” - whoever sends the e-mail: the e-mail leaves the platform, so the senders access level does not disclose it. The AI summary is built the same way, so it never contains the number or name of such a caller either.
| 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> |