Skip to main content
Answer

Script that will DL attachments from emails

  • June 4, 2024
  • 2 replies
  • 178 views

jhodges

Hello, I need to write a script that will download attachments (specifically Excel spreadsheets) from Front shared inboxes. I have the API key/ InboxID however AI isn’t much help on the actual process of it. If anyone could point me to some resources I would appreciate it, thank you.

Best answer by jhodges

Hi @molly I figured out the issue, the code was setup to go email → Search for attachments and it turns out it needs to be coded to email → message → search for attachments. Thank you for the follow up though!

2 replies

molly
Forum|alt.badge.img+3
  • Fronteer
  • June 5, 2024

Hi @jhodges, This is Molly with Front Support! Have you tried using the method listed in our API Docs here? You will need the message ID of the message that contains the attachment. Please let us know if this helps!


jhodges
  • Author
  • Helper
  • Answer
  • June 5, 2024

Hi @molly I figured out the issue, the code was setup to go email → Search for attachments and it turns out it needs to be coded to email → message → search for attachments. Thank you for the follow up though!