---
title: "GET /v4/campaigns/{id}/storing-ids"
method: GET
path: "/v4/campaigns/{id}/storing-ids"
tags: ["Campaigns"]
---

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

`GET /v4/campaigns/{id}/storing-ids`

Get the storingId(s) backing a campaign as a tree. The root node's `storingIds` belong to the campaign itself, and its `subCampaigns` array recursively lists every sub-campaign. The same storingId may appear in more than one node. Stateless campaigns return an empty `storingIds` array.

## Path parameters

- `id` string, required — Campaign ID: the numeric hash of `{distributionChainId}{campaignId}`, or the composite `{distributionChainId}-{campaignId}`.

## Response `200`

Response for status 200

- object
  - `campaignId` string, required — On-chain campaign id
  - `storingIds` string[], required — Indexing storingId(s) owned by this campaign only (not children's).
  - `subCampaigns` T4[], required — Direct sub-campaign nodes; [] for leaves. Always present. — unresolved $ref

---

[API](https://skmtc.dev/merkl/apis/merkl-api.md) · [All operations](https://skmtc.dev/merkl/apis/merkl-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/merkl/merkl-api/revisions/b7784c9a78b9/schema)
