
put
/v4/campaign-lists/{owner}/{name}
Replace the campaign IDs in a named list (an empty array deletes the list). Requires the owner's JWT or API key.
Path parameters
ownerstringrequired
List owner address (validated and checksum-normalized)
namestringrequired
List name (case-insensitive)
Request body
object
campaignIdsstring | object[]requiredCampaign IDs to include in the list. Each entry is either an internal hash (`Campaign.id`) or a `{ distributionChain, campaignId }` composite.
distributionChainnumberDistribution chain IDcampaignIdstringOnchain campaign IDResponses
200Response for status 200
Schema
object
ownerstringrequired
namestringrequired
campaignIdsstring[]required
sizenumberrequired
Example
{
"owner": "string",
"name": "string",
"campaignIds": [
"string"
],
"size": 0
}put
https://api.merkl.xyz/v4/campaign-lists//curl -X PUT "https://api.merkl.xyz/v4/campaign-lists/0x88888887C3ebD4a33E34a15Db4254C74C75E5D4A/my-campaign-list" \
-H "Content-Type: application/json" \
-d '{ "campaignIds": [ "string" ] }'Live request: this will call https://api.merkl.xyz/ for real.