Matomo for WordPress doesn’t support our HTTP API but instead supports the WordPress REST API. View the reference and more information on our developer site. You can use it to automatically create goals, fetch reports, add annotations, and more.

Previous FAQ: How do I find the JavaScript tracker URL that is used in Matomo for WordPress?