> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eversince.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Public links

> A public link is a page built from library items that anyone can open without an account, with its own layout, access settings, comments and analytics.

A public link is how work leaves the workspace for someone who is not in it: a client review, a press kit, a set of files to download. `manage_public_links` makes and manages them, and the app lists them under Share. Making and managing links is free.

## A link

`create` takes `items`, the library items in order, and returns `link_url` at once. The page is live.

* A link holds rendered items. A timeline or canvas goes on as the item `render_timeline` or `render_canvas` makes.
* An item that is only on a computer is uploaded first when the call comes through the desktop app on that computer, and is listed in `uploaded`. Otherwise it is left off the page and listed in `local_only`.
* `project` or `new_project`, with an optional `folder`, places the link in a project. Left out, it is in none. A link can be in several projects.
* `title` is the name the link is filed under. `heading` is what the page itself says, and the title a pasted link previews with.

A link is named by its id, its slug or its exact title. Slug and title are matched against the 100 most recent links, and an older one needs its id.

## Layout

`get` returns the page as `blocks` with a `revision`. `update` with `blocks` replaces the whole layout, and takes the `revision` from `get`: a stale one is refused, so two edits never overwrite each other. A block keeps its `id` to stay the same block.

| Block | What it shows |
| - | - |
| `heading` | A heading at level 1, 2 or 3 |
| `text` | Markdown: bold, italic, links, lists, quotes and code |
| `items` | Library items in order. One picture stands alone, several become a gallery, audio becomes a player with a tracklist, a CSV becomes a table, and anything else becomes a row to download |
| `embed` | A YouTube, Vimeo, Loom, Figma or Spotify share URL |
| `button` | A label and an `https` or `mailto` address |
| `divider` | A rule between sections |

Each item in an `items` block can carry a `size` (`s`, `m` or `l`), a `note` under it, a `download` button, and `show_id`, which prints its short id so a comment can name it.

`add_items` and `remove_items` change what the page holds without sending the whole layout. `style` sets the theme, font, heading size and alignment, margins, whether the page has a header, and a cover image with its height and focus.

## Draft and published

Settings reach the live page at once: the title, the heading, access, comments, and whether the link answers. A layout change stays a draft until `publish`, and `get` says so in `has_unpublished_changes`. `unpublish` takes the page down and keeps the link as a draft. `enabled` false stops the link answering at all.

`regenerate_link` issues a new address, and the old one stops working. It is the way to end a link that was passed on too far.

## Access

A link opens for anyone who has it. On Pro and Business, `permissions` narrows that:

| Setting | What it does |
| - | - |
| `passcode` | The page asks for a passcode of 6 or more characters |
| `require_identity` | Visitors leave a name and an email before the page opens |
| `expires_at` | The link stops opening after that date |

`allow_comments` lets visitors write on the page, also on Pro and Business. `get` returns what they wrote in `comments`. A reply to a visitor goes out under the workspace's name, so a person writes it in the app.

Public pages are not indexed by search engines.

## Analytics

On Pro and Business a link counts its views. `list` and `get` return `opens`: the total, the visitors, and both for the last 7 days. A visitor is counted once a day, so the same person on three days counts three times.

`activity` returns what visitors did: who left a name and email, which items were downloaded, and `opens_by_day` for the last 90 days. In the app, a link's Analytics window shows the same, with the people as a list that downloads as a CSV.

On the Free plan `opens` is null, and `activity` is refused with the plan it comes with.

## Copies and deleting

`duplicate` copies a link as an unpublished draft, with `title` for the copy's name.

`delete` permanently removes the link and its activity. The media stays in the library. A cloud copy that was made only for this link returns to the computer that holds the item.

## In the app

A result that makes or changes a link carries `app_url`: the project when the link is in exactly one, otherwise the link's own editor. Share, in the sidebar, lists every link with its status, views, comments and access. Public links are made and edited on a computer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.