How to pass query parameter to URLL

How can i pass a URL and get in prosody module.

For example:
https://-----.com/room_name?myid=1234

I need that 1234 value in prosody module, I have tried to using different hooks, but still unable to achieve that.