Accessing query string of webhook

I know if I send a query parameter to the standard built-in webhook module, it is shown in the output of the module.

I’m trying to replicate this in a custom webhook module (that does verification of the payload and throws an error) - but I am not sure what collection that is stored to output it (from the webhook to the module I am presuming).