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

# Share Links

> Share Turtle featured deals with automatic deposit attribution. No code required.

Share a link to a Turtle featured deal with your distributor ID attached. When someone deposits through your link, the deposit is attributed to you and counts toward your revenue share.

Share links are for distributors and partners who want a revenue share without writing any code: post the link, and any deposit made through it is credited to you.

<Warning>
  Share links only work with **Turtle featured deals**, the opportunities listed on [app.turtle.xyz/earn/opportunities](https://app.turtle.xyz/earn/opportunities). Non-featured or external vault URLs will not trigger attribution.
</Warning>

## Link format

```
https://app.turtle.xyz/earn/opportunities/{slug}?distId={your_distributor_id}
```

| Part     | What it is                | Where to find it                                                                                              |
| -------- | ------------------------- | ------------------------------------------------------------------------------------------------------------- |
| `slug`   | The deal's URL identifier | Copy it from the URL bar when viewing the deal on [app.turtle.xyz](https://app.turtle.xyz/earn/opportunities) |
| `distId` | Your distributor ID       | In the [Distribution Dashboard](https://dashboard.turtle.xyz)                                                 |

## Example

The Lido stETH deal is a featured deal on Turtle. Its slug is `lido-earneth`.

To share it with your distributor ID:

```
https://app.turtle.xyz/earn/opportunities/lido-earneth?distId=Y2Zi7KWy
```

The user lands on the Lido stETH deposit page. If they deposit, the deposit is attributed to `Y2Zi7KWy`.

## How it works

1. User clicks your link
2. The app reads the `distId` parameter and embeds your distributor ID into the deposit transaction
3. Turtle detects the deposit on-chain and attributes it to your account

No API integration or code needed. Attribution is automatic.

## Verify a deposit

The Earn API can confirm a deposit was attributed to you and returns the attributed distributor ID for a given transaction. Use it when you need to check attribution programmatically rather than in the dashboard.

See [Verify attribution](/sdk/earn/verify-attribution) for the request and response details.

## Sharing tips

Lead with the yield and the asset. Two lines plus the link is enough.

<Accordion title="Example post">
  Earn stETH yield through Lido on Ethereum. One of the most battle-tested staking protocols in DeFi.
  [https://app.turtle.xyz/earn/opportunities/lido-earneth?distId=Y2Zi7KWy](https://app.turtle.xyz/earn/opportunities/lido-earneth?distId=Y2Zi7KWy)
</Accordion>

## Track deposits

View attributed deposits in the [Distribution Dashboard](https://dashboard.turtle.xyz), or query them programmatically through the Earn API to pull the deposits credited to your distributor ID into your own systems.

See [Distributor Activity](/sdk/earn-api/deposits) for the request and the full response format.

## Using the Earn API instead

Share links are the no-code path. If you want to build a custom deposit flow in your own app, use the [Earn API](/sdk/earn/overview). The same attribution applies.

## Next steps

<CardGroup cols={2}>
  <Card title="Configure opportunities" icon="sliders" href="/products/earn/configure-opportunities">
    Pick which featured deals to share with your audience.
  </Card>

  <Card title="Distribution Dashboard" icon="chart-line" href="/partner-products/distribution-dashboard">
    Track deposits and manage your integration.
  </Card>

  <Card title="Earn API Quickstart" icon="code" href="/sdk/quickstart">
    Build a custom deposit flow with API access.
  </Card>
</CardGroup>
