Creating an API to make my Rasa chatbot available to anyone online

I’ve made my own chatbot using Rasa and now I would like to create an API to make this accessible for others. I only have very basic experience with making REST APIs but I would like to get some help on how to go about integrating an API with Rasa.

Thank you in advance.

If you run “rasa run --cors “*”” command you will get an endpoint that you can use to interact with the bot. It will be something like: http://<host>:<port>/webhooks/rest/webhook

Thank you for your reply.

If I want someone to be able to integrate my trained chatbot into their own websites via an API, will the above command allow me to do that?