Solved

List or search for conversations with status = assigned

  • 13 December 2022
  • 1 reply
  • 78 views

Badge +2

Using the API, I would like to list all the conversations with status = "assigned" as described here:

https://dev.frontapp.com/reference/list-conversations

 

I'm not sure how the endpoint should look like.

 

Can you please send me the endpoint with the query params?

 

Thanks

icon

Best answer by Javier - Developer Relations 13 December 2022, 16:25

View original

1 reply

Userlevel 5
Badge +8

The URI for that endpoint would look something like this;

 

https://api2.frontapp.com/conversations?q[statuses]=assigned

 

However, I would suggest you explore the conversation search endpoint, which offers more search options, and provides a helpful _total field in the result letting you know how many results matched your query. We also provide a Search tutorial for the conversation search endpoint.

 

Something like the following might be more appropriate as it allows us to filter for conversations which are both assigned and open (rather than everything assigned, regardless of it's open/archived status):

 

https://api2.frontapp.com/conversations/search/is:assigned%20is:open

--Jason

Reply