List shared links
List the shared links of a site from Visibility in the site settings.
GET https://cotlet.dev/api/v1/plausible/shared-links
read
Returns the name and link of each shared link. The name is the label you gave the link and is not shown to viewers. Plausible never shows a link password again after it is set, so this list cannot return one.
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/shared-links?site=site" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("plausible", "list_shared_links", {"site":"site"}) const result = await cotlet.call('plausible', 'list_shared_links', {"site":"site"}); cotlet call plausible list_shared_links --data '{"site":"site"}' Example response
{
"site": "acme-shop.example",
"links": [
{
"name": "Acme monthly",
"url": "https://plausible.io/share/acme-shop.example?auth=k3T9xQ2mVb7Lw0pD"
}
]
}