# Caps

> Lead Contract Caps

## Get Leads Cap Info

`GET https://api.leadspedia.com/core/v2/leadDistributionContracts/getLeadsCapInfo.do`

### Parameters

- `contractID` (integer, required)


## Update Leads Cap

`POST https://api.leadspedia.com/core/v2/leadDistributionContracts/updateLeadsCap.do`

### Parameters

- `contractID` (integer, required)

- `hourlyLeadsCap` (integer, optional)
  To unset the cap, set this to 0

- `dailyLeadsCap` (integer, optional)
  To unset the cap, set this to 0

- `weeklyLeadsCap` (integer, optional)
  To unset the cap, set this to 0

- `monthlyLeadsCap` (integer, optional)
  To unset the cap, set this to 0


## Get Revenue Cap Info

`GET https://api.leadspedia.com/core/v2/leadDistributionContracts/getRevenueCapInfo.do`

### Parameters

- `contractID` (integer, required)


## Update Revenue Cap

`POST https://api.leadspedia.com/core/v2/leadDistributionContracts/updateRevenueCap.do`

### Parameters

- `contractID` (integer, required)

- `hourlyRevenueCap` (integer, optional)
  To unset the cap, set this to 0

- `dailyRevenueCap` (integer, optional)
  To unset the cap, set this to 0

- `weeklyRevenueCap` (integer, optional)
  To unset the cap, set this to 0

- `monthlyRevenueCap` (integer, optional)
  To unset the cap, set this to 0
