Relationship Intelligence

Get authorized attachment content

Returns one scanned text attachment when policy and grants allow it.

get/v1/revenue-workspaces/current/communications/attachments/{attachmentId}/content

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/revenue-workspaces/current/communications/attachments/{attachmentId}/content
  • Auth: HTTP bearer

Path parameters

attachmentIdstring uuid required

Attachment id.

Response

Authorized attachment.

contentstring

UTF-8 content.

filenamestring

Filename.

mimeTypestring

MIME type.

scanStatusstring

Scan status.

Example response

{
  "access": {
    "attachments": true,
    "body": true,
    "metadata": true,
    "policyVersion": 1,
    "reason": "mailbox_owner",
    "subject": true
  },
  "content": "Quarterly plan",
  "filename": "notes.txt",
  "mimeType": "text/plain",
  "scanStatus": "clean"
}

Changes

No operation changes recorded.