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

# Links

> The MCP tools for links.

## `create_link`

Share a document: a link to a page that plays it, an embed for other sites, and HLS playback. Nothing plays until a link exists. A link follows an alias (latest by default) or plays one fixed version.

REST: [`POST /v1/documents/{document_id}/links`](https://rendermate.com/docs/api-reference/links/create-link)

**alias** `string`

An alias, such as `latest`; `latest` when neither this nor `version` is given.

**autoplay** `boolean`

Start playing as soon as the page opens.

**controls** `boolean`

Show the player's controls.

**document\_id** `string` *required*

**expires\_at** `string`

When the link stops working, as an RFC 3339 time; never when absent.

**name** `string`

A name people recognize it by, such as "For Acme's review".

**password** `string`

A password viewers enter before it plays, 4 to 128 characters; anyone with the link watches without one.

**version** `integer`

A version, by number.

## `get_link`

Get a link: what it plays, its page, embed and playback URLs, and whether it was revoked.

REST: [`GET /v1/links/{link_id}`](https://rendermate.com/docs/api-reference/links/get-link) · read-only

**link\_id** `string` *required*

The link, `lnk_…`.

## `get_link_playback`

Get a link's HLS playlist URL, signed and expiring, to play the video in your own player. The link's page and embed already play it.

REST: [`GET /v1/links/{link_id}/playback`](https://rendermate.com/docs/api-reference/links/get-link-playback) · read-only

**link\_id** `string` *required*

The link, `lnk_…`.

## `list_links`

List a document's links, newest first, with what each plays, its URLs and whether it was revoked.

REST: [`GET /v1/documents/{document_id}/links`](https://rendermate.com/docs/api-reference/links/list-links) · read-only

**after** `string`

The cursor the previous page ended with.

**document\_id** `string` *required*

**limit** `integer`

How many to return.

## `purge_link`

Delete the stored renders of the version a link plays now, and clear the CDN's cached copies of the link's video, thumbnails, storyboards and GIFs, within a minute. The next view renders them again, billed as new renders, except video and audio segments whose content is unchanged and still stored, which are reused. Other links to that version play the new renders too, and finished exports of it stop downloading (404): export again for a new download.

REST: [`POST /v1/links/{link_id}/purge`](https://rendermate.com/docs/api-reference/links/purge-link) · destructive, idempotent

**link\_id** `string` *required*

The link, `lnk_…`.

## `revoke_link`

Revoke a link: its page, embed and playback stop working for everyone, for good. The document and its other links don't change.

REST: [`DELETE /v1/links/{link_id}`](https://rendermate.com/docs/api-reference/links/revoke-link) · destructive, idempotent

**link\_id** `string` *required*

The link, `lnk_…`.

## `update_link`

Change a link's name, autoplay, controls, expiry or password. What it plays stays the same: to play another version, make a new link or move the alias it follows.

REST: [`PATCH /v1/links/{link_id}`](https://rendermate.com/docs/api-reference/links/update-link) · destructive, idempotent

**autoplay** `boolean`

Start playing as soon as the page opens.

**controls** `boolean`

Show the player's controls.

**expires\_at** `string`

When the link stops working, as an RFC 3339 time; `null` makes it never expire.

**link\_id** `string` *required*

The link, `lnk_…`.

**name** `string`

A new name; `null` removes it.

**password** `string`

A password viewers enter before it plays, 4 to 128 characters, replacing any it had; `null` removes it, so anyone with the link watches. Viewers who entered the old one enter the new one.


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