I would like to extract all messages for all threads for all inboxes. The goal is to do some analysis on the messages and downstream processing.
Currently I am thinking about the following procedure:
1. Get all threads via threads api: https://api.hubapi.com/conversations/v3/conversations/threads
2. Get all messages for each thread via messages api: https://api.hubapi.com/conversations/v3/conversations/threads{threadId}/messages
3. Store the result in a database, so that I can use it for downstream processing.
Is there a better way to do it? Specifically is there a way to get all messages for all threads for a given inbox in one request?