ixp
latest
false
UiPath logo, featuring letters U and I in white

Communications Mining user guide

Last updated Mar 6, 2026

Attachments

# Attachments

# Get attachment content by reference

GET `/api/v1/attachments/<attachment_reference>`

Permissions required: **View sources**

- Bash
```bash
curl "https://<my_api_endpoint>/api/v1/attachments/CjQSEIExTHEqtdntoxz2WtbZDNEiIIVqcP1Sfx2L4epyRQDasa1RSODvheQ3bvLhj3L-_81G" \ -H "Authorization: Bearer $COMMUNICATIONS_MINING_TOKEN"
# Attachments

# Get attachment content by reference

GET `/api/v1/attachments/<attachment_reference>`

Permissions required: **View sources**

- Bash
```bash
curl "https://<my_api_endpoint>/api/v1/attachments/CjQSEIExTHEqtdntoxz2WtbZDNEiIIVqcP1Sfx2L4epyRQDasa1RSODvheQ3bvLhj3L-_81G" \ -H "Authorization: Bearer $COMMUNICATIONS_MINING_TOKEN"
  • Python
import os

import requests

response = requests.get( "https://<my_api_endpoint>/api/v1/attachments/CjQSEIExTHEqtdntoxz2WtbZDNEiIIVqcP1Sfx2L4epyRQDasa1RSODvheQ3bvLhj3L-_81G", headers={ "Authorization": "Bearer " + os.environ["COMMUNICATIONS_MINING_TOKEN"] }, )

print(response.content)
import os

import requests

response = requests.get( "https://<my_api_endpoint>/api/v1/attachments/CjQSEIExTHEqtdntoxz2WtbZDNEiIIVqcP1Sfx2L4epyRQDasa1RSODvheQ3bvLhj3L-_81G", headers={ "Authorization": "Bearer " + os.environ["COMMUNICATIONS_MINING_TOKEN"] }, )

print(response.content)
  • Response
<binary data>
<binary data>

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated