SocketIO when offline

I am currently using the based Rasa Webchat and it works pretty well. I noticed that one can also prompt to send the messages from the bot to the user by using the HTTP request.

I want to use this to create a system for the notifications similar to the reminderbot, where an external source can call the API to send the message to a particular user.


curl -H “Content-Type: application/json” -H “Authorization: Bearer {jwt}” -X POST -d ‘{“name”: “utter_goodbye”}’ “http://localhost:5005/conversations/conversation_id/execute?output_channel=latest

I notice that this is visible only when the webpage(where the widget is present) is open. If the website is closed and then opened later, then the message is not getting synced.