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

# Share Email

> Generate a public web preview link for a sent email.

Creates a shareable web-view URL for a sent transactional or campaign email via the Mailofly API.

### Path Parameters

**id** `string` *required*

The unique ID of the sent email (`msg_...`).

### Response

**id** `string`

Message identifier.

**share\_url** `string`

Publicly accessible URL to view the rendered HTML email in the browser.

**token** `string`

Secure share token used in the share link.

**expires\_at** `string | null`

Expiration timestamp of the share link (or null).


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