Actions31
- User API Actions
- Organization API Actions
- Allowlist API Actions
- Domain API Actions
- Session API Actions
- Invitation API Actions
User API → Create User
AI-generatedSummary
Create a new user in the Clerk system.
Inputs
- emailAddress (required) — The email address of the user.
- firstName — The first name of the user.
- lastName — The last name of the user.
- password (required) — The password for the user.
- publicMetadata — The public metadata for the user.
Output shape
a single record containing the newly created user's details
Returns the created user object; ensure to provide required fields like emailAddress and password.
Examples
Example 1: Creating a user with all details
Input required 'emailAddress', 'password'; optional 'firstName', 'lastName', 'publicMetadata'.