Creating Members with the API

Hey, I’m trying to create members through the members api. What would be the correct rest endpoint to hit? What would the request look like and what data would I have to include in the request? Any help is appreciated!

If you don’t know, the members API isn’t documented because it’s possible that it will change.

However, you’re more than welcome to use it. My suggestion is to manually create a member through the Admin interface with dev tools open, and you can see what data is being POSTed to what endpoint. You can also see every single validation schema here (canary=v3 at the time of writing):

2 Likes

You’ll also want to look into the admin api docs (especially on authentication) if you haven’t done so already :slight_smile: https://ghost.org/docs/api/v3/admin/#authentication

2 Likes