Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management and other Matomo resources. Specifically, for the 'Users Manager' resource and 'Add User' operation, it allows adding a new user to the Matomo system by sending the appropriate API request with user details such as login, password, email, and other optional parameters. This node is useful for automating user management tasks in Matomo, such as creating new users programmatically.

Use Case Examples

  1. Automatically add new users to Matomo when they register on your platform.
  2. Batch import users into Matomo from an external system.
  3. Manage user access and roles in Matomo through automated workflows.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as user login, email, access level, and other user-related settings.
Request Body JSON object containing the details of the user to be added, including mandatory fields like login and password, and optional fields like email and alias.

Output

JSON

  • json - The JSON response from the Matomo API after adding a user, typically containing the result or status of the operation.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the user details in the request body are valid and meet Matomo's requirements (e.g., unique login, valid email).
  • Check API permissions to ensure the authenticated user has rights to add users.
  • Common error messages include authentication failures, missing parameters, or invalid user data; review the error message and stack trace for details.

Links

Discussion