# GET /v4/opportunities/{id}/storing-ids

_Merkl API_

Get the storingId(s) backing an opportunity, grouped by root campaign. Returns one tree per root campaign matching the requested statuses (default `LIVE`; past root campaigns are excluded). Each node lists its own storingIds, with sub-campaigns nested under `subCampaigns`. Sub-campaigns of a matching root are not status-filtered. The same storingId may appear in more than one tree. Stateless campaigns return an empty `storingIds` array.

### Path parameters

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

### Query parameters

- `campaignStatus` (RegExp)

## Responses

- **200** Response for status 200
- **404** Response for status 404
- **500** Response for status 500

## Example request

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