Skip to main content
Answer

List Events q parameter

  • December 21, 2022
  • 1 reply
  • 124 views

Front Developer
Forum|alt.badge.img+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.

Best answer by Support Engineering

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

1 reply

Forum|alt.badge.img+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