Skip to main content
Solved

Saving emails to 3rd party software via API

  • December 10, 2025
  • 5 replies
  • 76 views

Hi all

I’m looking to save emails (and attachments) from conversations in Front to my software using its API. I’ve created application requests and can send and receive data with them. I can create a new document in my software using a Front macro but the document is empty, because I don’t know what I should use in Front to save the email and attachments too.

Hoping for some pointers!

Thanks

Best answer by evano

Hi Julian,

Thank you for reaching out to the Front Developer Q&A community. It sounds like you're trying to integrate Front with your software to save emails and attachments using the API. I understand this can be a bit challenging, especially if you're not familiar with the technical details.

To access attachments through Front's API, you can use the attachments endpoint provided by Front. This endpoint allows you to retrieve attachment data from conversations. Once you have the attachment data, you can use your software's API to upload these files to your desired location.

Here are some steps you might consider:

  • Use the GET /conversations/{conversation_id}/messages endpoint to list messages within a conversation. This will include metadata about attachments.
  • For each message, check the attachments field to see if there are any files associated with it.
  • Use the GET /attachments/{attachment_id} endpoint to download the actual file data.
  • Once you have the file data, you can use your software's API to upload the files to your desired location.

If you're looking for a way to expose a file location directly from Front, you might need to implement a custom solution that involves downloading the files first and then saving them to a location accessible by your third-party API.

I hope this helps! If you have any further questions or need more detailed guidance, feel free to ask.

5 replies

  • Author
  • Conversationalist
  • December 10, 2025

Edited to add: if there is something in Front that will expose a file location of the email and attachments, or save them to a file location, I think the 3rd party API can upload from there


Forum|alt.badge.img+5
  • Fronteer
  • Answer
  • December 15, 2025

Hi Julian,

Thank you for reaching out to the Front Developer Q&A community. It sounds like you're trying to integrate Front with your software to save emails and attachments using the API. I understand this can be a bit challenging, especially if you're not familiar with the technical details.

To access attachments through Front's API, you can use the attachments endpoint provided by Front. This endpoint allows you to retrieve attachment data from conversations. Once you have the attachment data, you can use your software's API to upload these files to your desired location.

Here are some steps you might consider:

  • Use the GET /conversations/{conversation_id}/messages endpoint to list messages within a conversation. This will include metadata about attachments.
  • For each message, check the attachments field to see if there are any files associated with it.
  • Use the GET /attachments/{attachment_id} endpoint to download the actual file data.
  • Once you have the file data, you can use your software's API to upload the files to your desired location.

If you're looking for a way to expose a file location directly from Front, you might need to implement a custom solution that involves downloading the files first and then saving them to a location accessible by your third-party API.

I hope this helps! If you have any further questions or need more detailed guidance, feel free to ask.


  • Author
  • Conversationalist
  • January 20, 2026

Hi Evan

Thanks for that information. It’s very helpful!

I am however still facing a hurdle - I create an application request and configure it as shown in the attached tiff. As far as I can tell I am configuring it correctly, but whenever I test it, I get No response and the error: Test failed: 401 - External API responded with an invalid response.

Are you able to tell me what I am doing wrong?

Many thanks

Julian

 


Forum|alt.badge.img+5
  • Fronteer
  • January 20, 2026

Hi Julian,

I’m unable to see your image attachment. We try to keep community posts to general implementation questions that anyone can benefit from. For troubleshooting specific issues, I recommend opening a case through Front’s support portal:

https://help.front.com/en/contact-us

My guess, however, based on the 401 error, is that you’re not authenticating the  GET /attachments/{attachment_id} request.  The attachment links that you’ll find in the message metadata still require a Bearer token to retrieve.

If you’re still having issues, please reach out to support via the portal as we’ll likely need to look at our logs for your requests.

 


  • Author
  • Conversationalist
  • January 22, 2026

Thanks Evan

Again, that is helpful.

I have opened a case numbered F-86950 on the support portal and will watch out for replies there.

Kind regards

Julian