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 the 'Get Users Access From Site' operation, it retrieves information about users who have access to a specific site within Matomo. This is useful for administrators who need to manage or audit user permissions and access levels for different websites tracked in Matomo. The node supports a wide range of query parameters to filter and customize the API request.

Use Case Examples

  1. Retrieve a list of users who have access to a particular site to audit permissions.
  2. Fetch detailed access levels of users for a specific website to manage user roles.
  3. Use query parameters to filter users by access level or status for targeted management.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify details for the API request, such as access level, user login, site ID, and many others as supported by the Matomo API for user management.

Output

JSON

  • json - Response data from the Matomo API call, typically an array of user access information objects

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials.
  • Verify that the user has the necessary permissions to access the requested site and user data in Matomo.
  • Check that the query parameters are correctly formatted and valid according to the Matomo API documentation.
  • Common error messages include authentication failures, permission denied errors, and invalid parameter errors. Verify credentials and input parameters to resolve these.

Links

Discussion