[#83039050] Allow fetching SO messages by type and without payload

@mst-appear We're appending these query params in a couple of places, would it make sense to make a method out of it, so that we only need to update one place if we're to change the format or add something else?