Plausible Guests API

The Guests API from Plausible — 2 operation(s) for guests.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/sites/guests List site guests and invitations · List guests/invitations #
Ask an LLM
“Who has been invited to my site?”
“Can I see pending guest invitations?”
Tell an agent
List guests and invitations on my site.
Show everyone with guest access to my site.
PUT /api/v1/sites/guests Invite or manage a guest · Invite or manage guest access #
Ask an LLM
“How do I invite a teammate to my site?”
“Can I change a guest's role?”
Tell an agent
Invite {email} to my site with role {role}.
Make {email} a {role} on site {site_id}.
DELETE /api/v1/sites/guests/{email} Remove a guest or invitation · Remove guest or invitation #
Ask an LLM
“How do I revoke a guest invitation?”
“Can I remove someone from my site?”
Tell an agent destructive · confirm first
Remove {email} from my site.
Revoke the invitation for {email}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/plausible:plausible-guests-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

plausible-guests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plausible Sites Guests API
  description: The Plausible Sites API enables developers to programmatically manage sites, teams, goals, custom properties, shared links, and guest access within their Plausible account.
  version: 1.0.0
  contact:
    name: Plausible Support
    url: https://plausible.io/contact
  license:
    name: AGPL-3.0
    url: https://github.com/plausible/analytics/blob/master/LICENSE.md
servers:
- url: https://plausible.io
  description: Plausible Cloud
security:
- bearerAuth: []
tags:
- name: Guests
paths:
  /api/v1/sites/guests:
    get:
      tags:
      - Guests
      summary: List guests/invitations
      operationId: listGuests
      responses:
        '200':
          description: A list of guests.
    put:
      tags:
      - Guests
      summary: Invite or manage guest access
      operationId: upsertGuest
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Guest'
      responses:
        '200':
          description: Created or updated.
  /api/v1/sites/guests/{email}:
    parameters:
    - in: path
      name: email
      required: true
      schema:
        type: string
    delete:
      tags:
      - Guests
      summary: Remove guest or invitation
      operationId: deleteGuest
      responses:
        '200':
          description: Removed.
components:
  schemas:
    Guest:
      type: object
      properties:
        site_id:
          type: string
        email:
          type: string
        role:
          type: string
          enum:
          - viewer
          - editor
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key