Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Add stats API endpoint to verify key

There is currently no way to verify the API key using the stats API without providing a site_id.

I created a Looker Studio connector to fetch stats from plausible analytics but I cannot verify the key without hard-coding a site_id in the connector (which prevents the connector from being used by different organisations).

3 years ago

you can now call GET /api/v1/sites with any Stats API key. it lists the sites the key can access, so it works as a key check without a site_id: https://plausible.io/docs/stats-api#which-sites-can-a-key-access

5 days ago
Changed the status to
Completed
5 days ago