I could not find any information about setting up Matomo Wordpress REST API authentication. The only text I found: “authentication is done through WordPress” https://developer.matomo.org/api-reference/wordpress/restapi-reference
How exactly it can be done?
Example of request and response I get now:
GET /index.php?rest_route=/matomo/v1/api/processed_report&period=date&date=year&filter_limit=10&apiModule=Actions&apiAction=getPageUrls
{
“code”: “matomo_no_access_exception”,
“message”: “You must be logged in to access this functionality.”,
“data”: null
}