Hello, I encountered an issue while using the Live Chat API. I am stuck at the "Send a message from a visitor" step. The messages sent from the simulated conversation using the web widget are not being received by my local server.
I followed the steps in this documentation: https://developer.zendesk.com/documentation/live-chat/getting-started/getting-started-with-the-chat-conversations-api/ and referred to the code in this link: https://codesandbox.io/p/devbox/51rorvmwx?file=%2Fsrc%2Findex.js%3A70%2C22
I don't quite understand how the web widget on the page communicates with my local index.js. The documentation shows that it should work this way, but in reality, the backend service in index.js is not receiving the messages sent from the widget. I'm stuck here. Please help me resolve this issue. Thank you!
Thank you very much for your response! I would like to confirm. I am using a trial account to debug the Live Chat API. The operation "Getting started with the Chat Conversations API" should not be restricted and is accessible with a trial account, right?