> ## 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](/simulator-ui/overview) setup that the recipient runs themselves, use a [draft link](/simulator-ui/draft-links) instead.

## Share a simulation from the dashboard

<Steps>
  <Step title="Open the simulation">
    In **Simulator**, open a simulation from the list, or run a new one.
  </Step>

  <Step title="Open the Share menu">
    Click **Share** next to the **Simulation** title. While the simulation is private, **Share** shows a lock icon.
  </Step>

  <Step title="Enable public access">
    Turn on **Enable public access**, then click **Copy URL**.

    <Frame caption="Share Simulation menu with public access enabled.">
      <img src="https://mintcdn.com/tenderly/PzoXOFG6RNM2SCxQ/images/simulator-ui/share-simulation-popover.webp?fit=max&auto=format&n=PzoXOFG6RNM2SCxQ&q=85&s=29213150c5f432e97a4be6c0af9dfce3" alt="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" width="640" height="230" data-path="images/simulator-ui/share-simulation-popover.webp" />
    </Frame>
  </Step>
</Steps>

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.

<Frame caption="A shared simulation opened without signing in.">
  <img src="https://mintcdn.com/tenderly/PzoXOFG6RNM2SCxQ/images/simulator-ui/share-simulation-public-view.webp?fit=max&auto=format&n=PzoXOFG6RNM2SCxQ&q=85&s=66a6f22f791d57346640c7065491265b" alt="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" width="1600" height="720" data-path="images/simulator-ui/share-simulation-public-view.webp" />
</Frame>

## 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](/api-reference/simulator/enable-simulation-sharing) and [Disable simulation sharing](/api-reference/simulator/disable-simulation-sharing) 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.