Sign in

Get monthly consumption data

documented

Retrieve monthly consumption data by channel/campaign.

POST /v1/public/monthly-consumptionBillingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.octopush.com/v1/public/monthly-consumption" \
  -X POST \
  -H "api-login: {{OCTOPUSH_API_LOGIN}}" \
  -H "api-key: {{OCTOPUSH_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"channel": "{{$channel}}", "year": {{$year}}, "month": {{$month}}, "agent_email": "{{$agent_email}}"}'