Create user via API (React)

I’m learning React at the moment and using Kirby to handle my content and user accounts.

The site will allow public registration; is it possible to create new users via the API? There doesn’t appear to be any documentation on this (Authentication | Kirby CMS).

You are looking at the wrong endpoint, here it is: https://getkirby.com/docs/reference/api/users/create

1 Like

You will still need to authenticate before: https://getkirby.com/docs/guide/api/authentication

Just found this myself, should have looked a bit harder before posting! Thanks @distantnative.

The “users” endpoint page could be a bit easier to navigate to be fair, doesn’t mention anything to do with creating a user; https://getkirby.com/docs/reference/api/users.

Guess this relates to Reference: API show action and method in overview · Issue #211 · getkirby/getkirby.com · GitHub

1 Like