Merkl Developer Portal logo
get

/v4/enums/{enumName}

Get detailed information about a specific enum including all entries with their values, names, and descriptions (if available).

Path parameters

enumNamestring
required

Name of the enum (e.g., CampaignType, ChainId, DistributionMethod)

Responses

200
Response for status 200
Schema
object
namestring
required
The enum name
entriesobject[]
required
Array of all entries in this enum
valuenumber | stringThe enum value (number or string)
keystringThe enum key
descriptionstringHuman-readable description of the enum entry
typeenum
required
The type of values in this enumnumberstring
Example
{
  "name": "string",
  "entries": [
    {
      "value": "string",
      "key": "string",
      "description": "string"
    }
  ],
  "type": "number"
}