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

# Share a simulation with a public link

> Make an executed Tenderly simulation viewable by anyone with the link, copy the public URL, and turn public access off from the dashboard or the API.

Sharing a simulation makes its result page (call trace, events, state changes, fund flow, and gas profile) viewable through a public URL. Viewers don't need a Tenderly account. To share a [Simulator](https://docs.tenderly.co/simulator-ui/overview.md) setup that the recipient runs themselves, use a [draft link](https://docs.tenderly.co/simulator-ui/draft-links.md) instead.

## Share a simulation from the dashboard

**1. Open the simulation**

In **Simulator**, open a simulation from the list, or run a new one.

**2. Open the Share menu**

Click **Share** next to the **Simulation** title. While the simulation is private, **Share** shows a lock icon.

**3. Enable public access**

Turn on **Enable public access**, then click **Copy URL**.

![Share Simulation menu opened from the Share button next to the Simulation title, with the Enable public access toggle switched on and a Copy URL button](https://mintcdn.com/tenderly/PzoXOFG6RNM2SCxQ/images/simulator-ui/share-simulation-popover.webp?fit=max\&auto=format\&n=PzoXOFG6RNM2SCxQ\&q=85\&s=29213150c5f432e97a4be6c0af9dfce3)

Share Simulation menu with public access enabled.

The copied URL has the form `https://www.tdly.co/shared/simulation/<simulation-id>` and redirects to `https://dashboard.tenderly.co/shared/simulation/<simulation-id>`. Signed-out viewers see the full result page under a **SIMULATION** label.

![Shared simulation page opened while signed out, with Log in / Register in the top bar, a SIMULATION label, the transaction details of a WETH deposit from 0xe2e2...e2e2, and the call trace](https://mintcdn.com/tenderly/PzoXOFG6RNM2SCxQ/images/simulator-ui/share-simulation-public-view.webp?fit=max\&auto=format\&n=PzoXOFG6RNM2SCxQ\&q=85\&s=66a6f22f791d57346640c7065491265b)

A shared simulation opened without signing in.

## Stop sharing a simulation

Click **Share** and turn off **Enable public access**. Anyone who opens the link afterwards sees "Sorry, you don't have access to this page."

## Share a simulation with the API

Enable and disable public access with the [Enable simulation sharing](https://docs.tenderly.co/api-reference/simulator/enable-simulation-sharing.md) and [Disable simulation sharing](https://docs.tenderly.co/api-reference/simulator/disable-simulation-sharing.md) endpoints. Both take the simulation ID in the path, have no request body, and return `204 No Content` on success.

```bash title="share-simulation.sh" theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
curl -X POST \
  "https://api.tenderly.co/api/v1/account/$TENDERLY_ACCOUNT_SLUG/project/$TENDERLY_PROJECT_SLUG/simulations/$SIMULATION_ID/share" \
  -H "X-Access-Key: $TENDERLY_ACCESS_KEY"
```

To stop sharing, send the same request to the `/unshare` path. The public URL is `https://www.tdly.co/shared/simulation/$SIMULATION_ID`.


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