Table of Contents

API : PBX : Recording E-mail

Request

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:

  1. A warning box at the top when the AI sensitivity level is not NORMAL.
  2. The AI summary, formatted for easy reading.
  3. The calendar events found by the AI, each with an “add to Google Calendar” link and attached to the e-mail as an .ics calendar file.
  4. The sensitivity level and the reasons the AI chose it, when the level is not NORMAL.
  5. The recording attached as MP3 - or a link to the portal when the estimated file size exceeds the senders maximum attachment size (recording.notification.maxSize on the employee, 0 = no limit).
  6. The transcription, folded and expanded by the click of a button (e-mail clients without support for folding show it expanded).

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 email String E-mail address to send the recording to.

Query examples

https://api.telecomx.dk/pbx/recording/1234578901234567890ABCD/email?email=donald.duck@disney.com

Response

JSON object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
404 not_found Recording not found
403 access_denied Insufficient access level
422 email E-mail address is invalid
500 internal_error <Unspecified>