How to reference an Id from a question on a form?

I’m trying to manipulate data from a form to send to a Google Sheets spreadsheet. So far I have managed to integrate the API successfully, however, when I go to get the data from within the form in the Code, I cannot get the Id of the questions in the form to manipulate them.
How can I reference the form in the code?

You should be able to use this event on the backend which you’d want to do rather than the frontend so that you don’t send your Google Sheets API keys to the user’s web browser.