I tried sending calls to the URL's listed on this page and it returned a login page html or a 404 depending on the client I am using (python vs postman) https://developer.salesforce.com/docs/marketing/pardot/guide/batch-email-clicks-v4.html
The docs says the URI is: /api/emailClicks/version/4/do/query?... when really it is: /api/emailClick/version/4/do/query?... Note it is singular, not plural.