Documents

Get the original messages of an email document

Changed on

The original messages an email document was captured from, as they were sent: sender, subject, sent time, the HTML body (pictures shown inside the mail embedded) and the plain text. Use it to show an email the way its sender wrote it.

The HTML is returned as the sender wrote it. Show it in a sandbox without scripts or remote content. An HTML body larger than 1.5 MB is left out (html is null) and the text stays. A document that was not captured from an email answers an empty originals list. At most 200 originals are returned.

Answers only what the key's person may read: a document that is missing, in another workspace, or hidden from that person answers the same 404. Requires the read scope (or documents:read). Any member of the workspace may call it.

get/v1/documents/{id}/mail-originals

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Response

The original messages, in the order they were stored.

object required
originals, object[] required

Changes