Mint a link
expiresInDaysis optional. Without it the link never expires andexpiresAtisnull. Only a positive number sets a TTL; anything else is treated as absent.settings.includedGoalIdsscopes the shared view to specific goals:{ "projectId": "...", "settings": { "includedGoalIds": ["goal-1"] } }. If none of the ids are goals in the project, the link is still minted but the view will be empty, and_meta._tipwarns you.
List links
active is false once a link is revoked or expired. Newest first.
Revoke a link
200 with "revoked": null and a tip saying no active token matched.
Access
Owners and members can mint, list and revoke. A project you cannot access returns403 { "error": "Not your project" }; an unknown project returns 404. List periodically and revoke anything you do not recognise.
