Skip to Content
TrackCrest Docs

Offer caps

Capping rules and their usage this period.

GET
/api/v1/network/offers/{publicId}/caps

Requires scope offers:read.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Response Body

OK

application/json
  1. response
data?array<>|null
Example Request
curl -X GET 'https://trakcrt.com/api/v1/network/offers/0/caps'
Example Response
{  "data": [    {      "name": "string",      "scope": "string",      "metric": "string",      "period": "string",      "limit": 0.1,      "overCapAction": "string",      "enabled": true,      "used": 0,      "periodStart": "2019-08-24T14:15:22Z"    }  ]}