Merkl Developer Portal logo
get

/v4/campaigns/{id}

Retrieve a campaign by its unique identifier (hash or distributionChain-campaignId format) in the id path parameter.

Path parameters

idstring
required

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

Query parameters

showPrivateboolean

When true, attempt to decode a private campaign. The caller (JWT or API key owner) must be authorized for the campaign — otherwise returns 401. When false (default), private campaigns return 404. Bypasses CDN cache.