Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources, including Mobile Messaging. Specifically, for the 'Mobile Messaging' resource and the 'Are SMS API Credentials Provided' operation, it checks if SMS API credentials are available for a given site. This is useful for workflows that need to verify SMS provider credentials before sending messages or managing SMS-related features.

Use Case Examples

  1. Verify if SMS API credentials are set up before sending SMS notifications to users.
  2. Check SMS API credential availability as part of a monitoring or setup validation workflow.

Properties

Name Meaning
Query Parameters A collection of optional query parameters to customize the API request, such as filtering or specifying details relevant to the operation.
Request Body A JSON object representing the request body, used for POST operations to send data to the API.

Output

JSON

  • response - The JSON response from the Matomo API indicating whether SMS API credentials are provided.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the 'resource' is set to 'Mobile Messaging' and the 'operation' is set to 'Are SMS API Credentials Provided' to perform the correct API call.
  • Check the query parameters and request body for correctness and completeness as per the Matomo API documentation.
  • If the API returns an error, inspect the error message and stack trace for details to resolve issues such as network problems or invalid parameters.

Links

Discussion