Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

User → Create

AI-generated

Summary

Create a new user in Mautic with specified credentials and details.

Inputs

  • authentication — Authentication method to use: Credentials or OAuth2.
  • username (required) — Username for user login in Mautic.
  • email (required) — Email address of the user.
  • firstName — User's first name.
  • lastName — User's last name.
  • plainPassword (required) — Password and confirmation for the user account.
  • role — ID of the role assigned to the user (minimum 1). Defaults to 1.
  • additionalFields — Optional additional user fields such as Is Published, Position, Timezone, Locale, Online Status, and Signature.

Output shape

a single user object containing the created user's data

The output will contain the created user's information as returned by the Mautic API, including the fields set during creation. Errors in validation or API request will be surfaced.

Examples

Example 1: Create a user with mandatory username, email, password and assign default role, with optional first and last name.

Set Username, Email, Password (with confirmation), optionally First Name and Last Name, and execute.

Links

Discussion