Creating user via API

Once you create the user through the API, you will need to make another api request to this endpoint to approve them:

http://localhost:3000/admin/users/<user_id>/approve

Are you using the discourse_api gem to talk to the API or some other way?