Register User on External Site (External Form)

Hi there, I’m trying to register new users on my discourse forum https://forum.mysite.com/, I’m using my own form to do that, so my question here is, how can I register new users if I’m not directly on my discourse website
When I use the postman to register the new user, this is the response I’m getting


I’m not getting the userid field, but the other info I suppose is correct, I’ve tried with real emails, but the message never arrives.

Discourse core is a Rails App which is a REST API which interacts with the discourse frontend built with Emberjs to display the Discourse site. This is the link to the API docs.

You simply need to generate an API key in the discourse admin and use it to make requests to the discourse backend from your custom page’s frontend.

3 Likes

Thanks for your answer, I will do as you sugest