Skip to main content
Front Developer
Fronteer
December 13, 2022
Solved

List or search for conversations with status = assigned

  • December 13, 2022
  • 1 reply
  • 267 views

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

Best answer by Javier - Developer Relations

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

1 reply

Javier - Developer Relations
Community Manager
December 13, 2022

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

Javier - Front Developer Relations