In the Conversations inbox and messages APIs, specifically the api used to Get threads. when I specify an inboxId as a param, I get a server error. I have attached the full message shown.
@HRahem - Quick response here, but others may have better information.
I have had to experiment quite a bit with the APIs and responses in ths space - the documentation is missing a lot of detail.
My working approach is to use Thread ID as the foundation (and this can be obtained in the context of a Conversation workflow triggered on a specific Inbox.
Then, in Python, you can construct the right query URL:
This is a good solution, However, my goal was to get all the conversation history from a specific inbox. Which would require me to fetch all the threads from all inboxes, and then filter by the specific inboxId.
Thanks for the input. As I mentioned in my reply to @SteveHTM’s reply. I want to get all the threads from a specific inbox, not from all the inboxes, which your request does. And in order to do that, I have to specify the ‘inboxId’ param in my request. However, this combination will result in the server returning an error 500.
Update: I have found out that the error has nothing to do with the API itself, but with the configuration of my inbox which somehow resulted in it timing out and returning a 500 error. I have tested with other inboxes and they worked fine.