Campaigns

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.

get/v4/campaigns/{id}/linked

Request

  • Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.merkl.xyz/v4/campaigns/{id}/linked
  • Auth: apiKey (a scheme the document does not define)

Path parameters

idstring required

Campaign ID (hash) or composite identifier (distributionChain-campaignId)

Query parameters

testboolean

Include test campaigns

pointboolean

Include point campaigns

campaignsboolean

Include campaign data. Will slow down the request

excludeSubCampaignsboolean

Exclude subcampaigns from the results.

Response

Response for status 200

selfstring required

Campaign ID of the requested campaign

Changes

    • info

      added subschema #1 subschema #2 to the // response property allOf list for the response status

    • info

      removed subschema #1 subschema #2 from the // response property allOf list for the response status