POST
/
v1
/
audience
/
companies
/
balance
/
summary
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/audience/companies/balance/summary \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sortModel": [
    {
      "sort": "asc",
      "colId": "log_date"
    }
  ],
  "filterModel": {
    "campaign_name": {
      "filterType": "text",
      "type": "contains",
      "filter": "multi"
    }
  },
  "rowGroupCols": [
    {
      "id": "campaign_name",
      "displayName": "Campaign_name",
      "field": "campaign_name"
    }
  ],
  "groupKeys": [
    "<string>"
  ],
  "startRow": 1,
  "endRow": 2,
  "groupByAll": true
}'
{
  "data": [
    {
      "id": "<string>",
      "client_routing_company_id": "<string>",
      "amount": "<string>",
      "balance_type": "<string>",
      "meta": "<string>",
      "date_created": "<string>"
    }
  ],
  "meta": {
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.