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 'Add Phone Number' operation, it enables adding a phone number for SMS sending through the Matomo mobile messaging module. This is useful for automating SMS notification setups within Matomo's analytics environment.

Use Case Examples

  1. Add a phone number to the Matomo mobile messaging system to enable SMS notifications for alerts or reports.
  2. Manage mobile messaging phone numbers programmatically as part of a larger workflow automation.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering or specifying details relevant to the operation.
Request Body JSON object containing the data to be sent in the body of the request, used for POST operations like adding a phone number.

Output

JSON

  • response - The JSON response from the Matomo API call, which may include confirmation of the phone number addition or error details.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the phone number and other required fields in the request body are correctly formatted and valid.
  • Check the Matomo API documentation for the 'MobileMessaging.addPhoneNumber' method to ensure all required parameters are included.
  • Network or permission issues may cause API call failures; ensure the API user has the necessary permissions to add phone numbers.

Links

Discussion