Skip to main content

Register a new WordPress user

POST 

/users

Creates a new WordPress user account. At minimum, email and password must be supplied. All standard WordPress user fields (display name, locale, etc.) are accepted and passed to wp_insert_user().

Requirements

  • User registration must be enabled in the plugin settings.
  • If "Register Requires Auth Code" is enabled, AUTH_KEY must be provided.
  • The calling IP must pass any IP allow-list configured in the plugin settings.
  • The email address must be unique and well-formed.
  • If email domain restrictions are configured, the domain must match.

Success behaviour Returns the new user's profile object, their roles, and optionally a JWT if "Generate JWT on register" is enabled in the plugin settings.

Request

Responses

User registered successfully.