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 'Has Super User Access' operation, it checks if a user has superuser access in Matomo. The node is useful for automating user access management, querying user roles, and managing permissions within Matomo analytics platform. It supports a wide range of operations across different Matomo modules, making it versatile for analytics and administrative tasks.

Use Case Examples

  1. Check if a specific user has superuser access in Matomo to automate permission audits.
  2. Retrieve a list of users with superuser access for security reviews.
  3. Grant or revoke superuser access to users programmatically as part of user management workflows.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify details for the API request, such as user login, email, access level, and other user-related filters.

Output

JSON

  • response - The JSON response from the Matomo API call, which varies depending on the operation. For 'Has Super User Access', it typically returns a boolean or user access details indicating superuser status.

Dependencies

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

Troubleshooting

  • Ensure Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the 'resource' and 'operation' parameters are correctly set to supported values; unsupported values will throw errors.
  • Check network connectivity to the Matomo instance to avoid request failures.
  • If the API response is unexpected or empty, verify the query parameters and user identifiers used in the request.

Links

Discussion