Hi, I’m trying to access matomo live data via the API, but when I request
https://{{mydomain.de}}/index.php?rest_route=/matomo/v1/live/last_visit_details
(from https://developer.matomo.org/api-reference/wordpress/restapi-reference)
I get this response:
{‘code’: ‘rest_no_route’, ‘message’: ‘Es wurde keine Route gefunden, die mit der URL und der Request-Methode identisch ist.’, ‘data’: {‘status’: 404}}
So it seems like that’s not a real route. I changed it to “live/most_recent_visitor_id” and that worked fine.
I installed matomo via the wordpress plugin and the authentication works.
Thanks
Holger