Campaign Lists

Replace the campaign IDs in a named list (an empty array deletes the list). Requires the owner's JWT or API key.

put/v4/campaign-lists/{owner}/{name}

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/campaign-lists/{owner}/{name}
  • Auth: apiKey (a scheme the document does not define)

Path parameters

ownerstring required

List owner address (validated and checksum-normalized)

namestring required

List name (case-insensitive): 1 to 64 alphanumerics, hyphens or underscores

Request body

Response

Response for status 200

ownerstring required
namestring required
campaignIdsstring[] required
sizenumber required

Changes

    • breaking

      added the pattern ^[a-zA-Z0-9_-]{1,64}$ to the path request parameter name

    • info

      for the path request parameter name, the minLength was decreased from 1 to 0