# Plausible Analytics API Documentation

This is the complete API documentation for connecting to the Plausible Analytics API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Plausible Analytics connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/plausibleAnalytics/actions/{actionSlug}/run
```

## Plausible Analytics actions

- GET `apply-behavioral-filters` Apply Behavioral Filters
- GET `check-api-health` Check API Health
- POST `create-custom-property` Create Custom Property
- POST `create-site` Create Site
- DELETE `delete-custom-property` Delete Custom Property
- DELETE `delete-goal` Delete Goal
- DELETE `delete-guest` Delete Guest
- DELETE `delete-site` Delete Site
- GET `filter-by-page-and-country` Filter by Page and Country
- GET `filter-by-segment` Filter by Segment
- GET `filter-case-insensitively` Filter Case Insensitively
- GET `get-browser-breakdown` Get Browser Breakdown
- GET `get-campaign-breakdown` Get Campaign Breakdown
- GET `get-channel-breakdown` Get Channel Breakdown
- GET `get-city-breakdown` Get City Breakdown
- GET `get-country-and-city-analysis` Get Country and City Analysis
- GET `get-custom-date-range-stats` Get Custom Date Range Stats
- GET `get-custom-property-breakdown` Get Custom Property Breakdown
- GET `get-device-breakdown` Get Device Breakdown
- GET `get-entry-pages` Get Entry Pages
- GET `get-exit-pages` Get Exit Pages
- GET `get-goal-conversions` Get Goal Conversions
- GET `get-hourly-time-labels` Get Hourly Time Labels
- GET `get-landing-pages` Get Landing Pages
- GET `get-operating-system-breakdown` Get Operating System Breakdown
- GET `get-realtime-visitors` Get Realtime Visitors
- GET `get-referrer-breakdown` Get Referrer Breakdown
- GET `get-region-breakdown` Get Region Breakdown
- GET `get-revenue-metrics` Get Revenue Metrics
- GET `get-site` Get Site
- GET `get-time-series` Get Time Series
- GET `get-top-countries` Get Top Countries
- GET `get-top-pages` Get Top Pages
- GET `get-top-sources` Get Top Sources
- GET `get-traffic-summary` Get Traffic Summary
- GET `get-utm-source-analysis` Get UTM Source Analysis
- GET `include-imported-data` Include Imported Data
- POST `invite-guest` Invite Guest
- GET `list-custom-properties` List Custom Properties
- GET `list-goals` List Goals
- GET `list-guests` List Guests
- GET `list-sites` List Sites
- GET `list-teams` List Teams
- GET `paginate-stats-results` Paginate Stats Results
- GET `query-by-custom-properties` Query by Custom Properties
- GET `query-stats` Query Stats
- POST `send-event` Send Event
- PUT `update-site` Update Site
- PUT `upsert-goal` Upsert Goal
- PUT `upsert-shared-link` Upsert Shared Link
