Plausible automation
Share a Plausible dashboard with a client
A client asks to see their numbers, and you have to decide between a link and a login, create it in the right place in the site settings and remember which one you sent last month.
Cotlet does it in your own Plausible account with list_shared_links, create_shared_link, invite_guest and list_site_people, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Plausible do this on its own?
Plausible's Sites API can create shared links and invite guests, but only on the Enterprise plan (checked 22 Oct 2026). The Stats API cannot change sharing. Plausible's plan guide lists shared links and team members under Growth, so on Starter, Growth and Business you click the sharing in the app.
How you do it in Plausible today
- For a link, an admin opens the site settings, goes to Visibility, finds Shared links and clicks Add shared link.
- The admin names the link, optionally sets a password and optionally limits the link to a site segment, then saves and copies the link.
- For a login, the admin opens People in the site settings, clicks Invite New Guest, enters the email, picks Guest Viewer or Guest Editor and clicks Invite.
- The guest has to sign up or log in with the exact invited address and accept within 48 hours.
- Nothing in Plausible lists both side by side, so the admin checks Visibility and People separately before sending the same client a second link.
How to share a Plausible dashboard with a client
Create a password-protected shared link named "Acme monthly" for acme-shop.example, invite nora@client.example as a Guest Viewer, and tell me the link and who is invited. - 01
Look for an existing link
list_shared_links returns the links already on the site by name. If one called "Acme monthly" exists, the agent returns it and creates nothing, because Plausible shows no password later and a second link only adds one more thing to revoke.
- 02
Pick link or guest
A shared link needs no account for the viewer and does not count toward your team member limit. A guest needs an account and counts toward it. The agent picks the link when your prompt says "link" or "read-only", and the guest when the client should log in or edit settings.
- 03
Create the link
create_shared_link sets the name, the password you gave and the segment if you named one. The password is set only at creation, so the agent reports it back to you in the result and nowhere else. It waits for your OK first, because the link leaves your control once sent.
- 04
Invite the guest
invite_guest sends the email with the role you chose. The agent checks that your account is an Owner or Admin first; an Editor cannot invite, and the call fails with a permission error.
- 05
Confirm who has access
list_site_people shows the invitation as pending until the guest accepts it. The agent reports it and flags any pending invitation older than 48 hours as lapsed.
What you get back
Shared link created: Acme monthly (password set)
https://plausible.io/share/acme-shop.example?auth=k3T9xQ2mVb7Lw0pD
Invited: nora@client.example as Guest Viewer (pending, expires in 48 hours)
Other guests on acme-shop.example: sam@client.example, Guest Editor, accepted Other ways to ask
- Create a shared link limited to the "Organic only" segment and send me the URL.
- List every shared link and guest on acme-shop.example so I can see who has access.
- Invite team@agency.example as a Guest Editor on all my client sites.
- Turn on the weekly email report for acme-shop.example and add nora@client.example as a recipient.
What Plausible allows, and what to know first
- Plausible lets you set a shared-link password only when the link is created. It cannot be viewed, changed or removed later, so a lost password means deleting the link and making a new one.
- A shared link can be limited to one site segment. Viewers can add filters on top of it but cannot remove the segment, and personal segments cannot be used.
- People who view a shared link do not count toward the team member limit, but guests do, and so do pending invitations.
- A Guest Viewer sees the dashboard only. A Guest Editor also manages the site settings.
- Only Owners and Admins can invite guests, change roles or remove people.
create_shared_link and invite_guest ask for your OK by default. To run it on a schedule without you, switch confirmation off for those tools in your dashboard.
Sources: Plausible Docs: Shared links · Plausible Docs: Users and roles · Plausible Docs: Subscription plans · Plausible Docs: Sites API
Call create_shared_link from a script
curl -X POST https://cotlet.dev/api/v1/plausible/shared-links \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"site":"acme-shop.example","name":"Acme monthly","password":"river-lamp-42"}' {
"site": "acme-shop.example",
"name": "Acme monthly",
"url": "https://plausible.io/share/acme-shop.example?auth=k3T9xQ2mVb7Lw0pD",
"password_protected": true,
"segment": null
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is plausible_write → create_shared_link. Example data.
Schedule it in n8n, Make, Zapier or cronPlausible tools this automation uses
| Tool | Parameters |
|---|---|
| list_shared_links | site |
| create_shared_link | site, name, password, segment |
| invite_guest | site, email, role |
| list_site_people | site |
Frequently asked questions
Is it safe to connect Plausible to Cotlet?
Yes. You sign in to Plausible yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Plausible once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Plausible.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Plausible.