Seeking Assistance with Implementing REST API Polling Functionality in Self-Hosted Jitsi Installation

As I have been customizing the source code of my self-hosted Jitsi installation to meet my client’s requirements, everything has been functioning smoothly thus far. However, I have recently been tasked with allowing users to submit polls via a REST API. Although I am aware that this functionality is possible, I am not entirely clear on the steps required to achieve it. I would greatly appreciate any assistance, resources, or references that can guide me in accomplishing this task.

Polls are sent from client to server via xmpp message here is the entry point

You can implement a http entry point for it. An example this module receives http requests and responds to them jitsi-meet/mod_muc_census.lua at e772831f7c550fef099b09f68c8822bbd384cb42 · jitsi/jitsi-meet · GitHub