Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically for the 'Mobile Messaging' resource and the 'Set Delegated Management' operation, it enables setting the delegated management option for SMS services within Matomo. This is useful for managing SMS permissions and delegations programmatically. The node supports a wide range of query parameters and a JSON request body to customize the API call.

Use Case Examples

  1. Set delegated management for SMS service in Matomo by specifying the 'delegatedManagement' boolean parameter and optionally other query parameters.
  2. Use this node to manage SMS phone numbers, credentials, and verification codes by selecting other operations under the Mobile Messaging resource.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, including 'delegatedManagement' to set SMS management delegation, and many other parameters for filtering and configuration.
Request Body A JSON object representing the request payload for POST operations, allowing detailed configuration of the API call.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the operation and parameters used.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid 'Unknown resource' errors.
  • Check the format of query parameters and request body JSON to prevent malformed request errors.
  • If the API returns a string response, the node attempts to parse it as JSON; invalid JSON responses may cause parsing errors.

Discussion