We present a novel in situ reaction cell for heterogeneous catalysis monitored in situ by x-ray absorption spectroscopy (XAS) and resonant inelastic x-ray scattering (RIXS). The reaction can be carried out at a total pressure up to 1 atm, a regime that has not been accessible to comparable in situ techniques and thus closes the pressure gap to many industrial standard conditions. Two alternate catalyst geometries were tested: (A) a thin film evaporated directly onto an x-ray transparent membrane with a flowing reaction gas mixture behind it or (B) a powder placed behind both the membrane and a gap of flowing reaction gas mixture. To illustrate the working principle and feasibility of our reaction cell setup we have chosen ethylene epoxidation over a silver catalyst as a test case. The evolution of incorporated oxygen species was monitored by total electron/fluorescence yield O K-XAS as well as O K-RIXS, which is a powerful method to separate contributions from inequivalent sites. We find that our method can reliably detect transient species that exist during catalytic reaction conditions that are hardly accessible using other spectroscopic methods.