Best way to create external-facing API for creating topics?


My goal right now is to create an HTTP POST endpoint on the discourse server that creates a topic based on the request body. The endpoint should receive requests from arbitrary IPs without CORS issues. The client that hits the endpoint would be Chrome browser plugin. Is building a Discourse plugin the best way to achieve this?

Iā€™m new to Discourse and am a little bit lost here. Any help would be hugely appreciated!

I think we have what you are looking for, already:

Check out Discourse REST API Documentation, maybe what you want already exists. :slight_smile: