List guests and invitations
List the guests and pending invitations of a site from People in the site settings.
GET https://cotlet.dev/api/v1/plausible/site-peoples
read
Returns each guest with their email and role (Guest Viewer or Guest Editor), and whether the invitation was accepted or is still pending. Invitations expire after 48 hours, so an old pending row means the invitation has lapsed.
Parameters
| Name | Type | Description |
|---|---|---|
| site string required | string | Domain of the site as the Sites page lists it, e.g. acme-shop.example. |
Request
curl "https://cotlet.dev/api/v1/plausible/site-peoples?site=site" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("plausible", "list_site_people", {"site":"site"}) const result = await cotlet.call('plausible', 'list_site_people', {"site":"site"}); cotlet call plausible list_site_people --data '{"site":"site"}' Example response
{
"site": "acme-shop.example",
"people": [
{
"email": "nora@client.example",
"role": "Guest Viewer",
"status": "accepted"
},
{
"email": "sam@client.example",
"role": "Guest Editor",
"status": "pending"
}
]
}