API Help with analytics and exporting private inbox data

  • 16 January 2023
  • 1 reply

Badge +2

I am working on using the Front API to get some data we need into our BI Tool to analyze it, but I have a few questions. Basically, I need to get from the API the same data I get if I go to Analytics and get a Message Export. I wasn’t quite able to exactly that in the API so I just need a little direction on where to find it.

We will also need the export to contain messages from personal inboxes.


Best answer by Support Engineering 16 January 2023, 17:25

View original

1 reply

Userlevel 1
Badge +5

To do this via the API, use our Analytics Exports API endpoint, passing the value messages on the type parameter. 


It is possible to get messages/conversations in individual inboxes, but two conditions must be true;

  1. The OAuth or API token you use to request the data must have the Private resources permission.
  2. The owner of the private inbox must enable API access to their private resources (as an admin, you can update this setting on their behalf)


Once both those conditions are true, you will receive these messages in your API requests.