# GET /v4/campaigns/{id}/linked

_Merkl API_

Get every opportunity linked to a campaign — its full chain of parent campaigns up to the root, plus its entire sub-campaign subtree — as a flat list of nodes. Each node carries its `campaignId` and `parentCampaignId` so you can reconstruct the tree at any depth. `self` identifies the requested campaign.

### Path parameters

- `id` (string) _(required)_

### Query parameters

- `test` (boolean)
- `point` (boolean)
- `tokenTypes` (array)
- `campaigns` (boolean)
- `excludeSubCampaigns` (boolean)

## Responses

- **200** Response for status 200

## Example request

```bash
curl -X GET "https://api.merkl.xyz//v4/campaigns/{id}/linked" \
  -H "x-api-key: YOUR_API_KEY"
```