Get Campaign
campaigns-getFetch a Merkl campaign by numeric ID to view its details, with optional filters for test, point, pre-TGE, token type, and sub-campaign inclusion.
Instructions
GET /v4/campaigns/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the campaign | |
| test | No | Include test campaigns | |
| point | No | Include point campaigns | |
| tokenTypes | No | Filter by token type. Use POINT to include point campaigns and PRETGE to include preTGE campaigns. | |
| excludeSubCampaigns | No | Exclude sub-campaigns from the results |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign | Yes | Campaign object or null if not found |