To create a userscript I need help reverse engineering a website

Job ID: 34345275

Budget: $50 – $0 USD

Hi

The website is an online chat software. I want to create a userscript to forward incoming chat messages to my restapi endpoint.
I need a javascript specialist to help me understand how the website receives the messages from server and how to intercept them.
Related categories: JavaScript jQuery Angular