Create a user

Once you have defined your columns and purposes in User Store, you are ready to begin creating users.

You can create users via the CreateUserWithMutator API. This endpoint optionally takes a user ID, an organization ID (for tenants with organizations enabled) and a mutator (write API). First, it creates a user record and applies the specified user ID and organization ID (if applicable). If no user ID is specified, a random ID is generated. If a mutator is specified, it then executes the mutator. If the mutator's selector is set to {id} = ?, the mutator will update the new record according to the consents and data values passed in at execution time. For more info, see our primers on Mutators and Selectors.