Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to user management, specifically for the 'Get Sites Access For User' operation under the 'Users Manager' resource. It allows users to retrieve the access levels a specific user has across different websites managed in Matomo. This is useful for administrators who need to audit or manage user permissions across multiple sites.

Use Case Examples

  1. An administrator wants to check which websites a particular user has access to and at what permission level.
  2. A user management system integrates with Matomo to dynamically fetch and display user access rights for reporting or auditing purposes.

Properties

Name Meaning
Query Parameters A collection of optional query parameters to filter or specify the details of the request, such as user login, access level, or other relevant filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the sites and access levels for the specified user.

Dependencies

  • Matomo API with an API token for authentication

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause authentication errors.
  • Verify that the user login or email provided in the query parameters exists in Matomo to avoid empty or error responses.
  • Check the API method and parameters for correctness to prevent malformed requests.
  • Handle HTTP errors gracefully, such as 403 Forbidden if the API token lacks necessary permissions.

Links

Discussion