Actions17
User → Create
AI-generatedSummary
Creates a new WordPress user account by sending a POST request to the REST API.
Inputs
- username (required) — Login name for the user.
- name (required) — Display name for the user.
- firstName (required) — First name for the user.
- lastName (required) — Last name for the user.
- email (required) — The email address for the user.
- password (required) — Password for the user (never included in the response body).
- additionalFields — Additional user fields including URL, Description, Nickname, and Slug.
Output shape
a single record
Returns the full user object including ID, username, and other WordPress user metadata.
Examples
Example 1: Creating a new site administrator
Username: admin, Name: John Doe, Email: admin@example.com, Password: SecurePass123, Nickname: johnd
Example 2: Creating a new contributor
Username: contributor, Name: Jane Smith, Email: jane@example.com, Password: JanePass456, First Name: Jane, Last Name: Smith