# GET /v4/config/hash/{hash}

_Merkl API_

Gets a campaign configuration by its hash. If campaignId and distributionChainId are provided, associates the configuration with that campaign.

### Path parameters

- `hash` (string) _(required)_

### Query parameters

- `campaignId` (string)
- `distributionChainId` (string | number)

## Responses

- **200** Response for status 200

## Example request

```bash
curl -X GET "https://api.merkl.xyz//v4/config/hash/{hash}" \
  -H "x-api-key: YOUR_API_KEY"
```