Filtering conversation threads by status not working

Hi, im having trouble filtering my conversation threads by status field (in documentation its called threadStatus )

Im using endpoint conversations/v3/conversations/threads?threadStatus=OPEN but getting results with status: ‘CLOSED’ aswell.

Also i noticed this API is still in BETA so maybe it has still some bugs.

My sources

Hi @JUrban78 :waving_hand:

As far as I can tell, the threadStatus query parameter is only applied if the associatedContactId query parameter is also defined.

I hope this proves useful. Please let me know if you have any follow-up questions.

And why is it like that? I think its pretty reasonal and common usecase to have this functionality and return OPEN/CLOSED threads without providing associatedContactId

Are there any plans to implement this in near future?

I agree that the threadStatus parameter is useless as implemented for a large number of possible use cases.

I’ve submitted the following Idea and tagged you on it. Hopefully it can go somewhere. In the meanwhile, I guess we have to implement the filtering in our business logic.

https://community.hubspot.com/t5/HubSpot-Ideas/Change-functionality-of-threadStatus-in-Conversations-API-to/idi-p/912625#M167128

We’re considering this! Would love to hear more about your use cases for the *why* behind these sorts of filters and sorts here in this Developer Slack thread Slack

Same. I expect GET https://api.hubapi.com/conversations/v3/conversations/threads?threadStatus=OPEN to get list of open threads. However, I’m getting a bunch of threads with a closed status in the response. It seems to be ignoring this filter.

I lost an hour today trying to diagnose why I get closed threads when I filter on threadStatus=OPEN.

Please fix this. It’s both useful and an obvious omission.