Solved

List Events q parameter

  • 21 December 2022
  • 1 reply
  • 78 views

Badge +2

Can you please provide some examples of working list events queries using the q parameter. I am particularly interested in making use of the types filter.

 

 https://api2.frontapp.com/events?q=<help>

 

All my attempts at using that parameter have either returned an error or had no effect and I was unable to find any examples in the documentation.

icon

Best answer by Support Engineering 21 December 2022, 19:26

View original

1 reply

Userlevel 1
Badge +5

An example query on the List Events endpoint could look like the following:

 

https://api2.frontapp.com/events?q[after]=1666584000&limit=10&q[types]=tag&q[types]=inbound

 

This will look for inbound or tag events after the timestamp specified with a limit of 10 results. You can also view a list of the event types that can be queried here: https://dev.frontapp.com/reference/events.

 

--Leslie

Reply