MCP is live.Set upAsk the community
OmniDimension
Reseller usage

Get one client's usage

One client's statement for a period: its spend by type, its calls broken down by day, agent, campaign, number and direction, the numbers and channels it bought, and the margin you made on it.

Reseller accounts only. Request access.

GET/reseller/usage/clients/
Path parameters
organization_idrequired
Query parameters
monthstring

A calendar month, as YYYY-MM.

date_fromstring

First day of a custom range, as YYYY-MM-DD. Send with date_to.

date_tostring

Last day of a custom range, as YYYY-MM-DD. Send with date_from.

curl -X GET 'https://backend.omnidim.io/api/v1/reseller/usage/clients/{organization_id}' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Example response
{
  "organization_id": 5678,
  "name": "Demo Client",
  "date_from": "2026-09-01",
  "date_to": "2026-09-30",
  "timezone": "Asia/Kolkata",
  "currency": "USD",
  "balance": 38.12,
  "calls": 380,
  "summary": {
    "voice_ai": {
      "minutes": 412.5,
      "amount": 61.88
    },
    "telephony": {
      "minutes": 0,
      "amount": 0
    },
    "phone_numbers": {
      "count": 1,
      "amount": 3
    },
    "channels": {
      "count": 0,
      "amount": 0
    },
    "total_amount": 64.88
  },
  "margin": {
    "revenue": 100,
    "wholesale_cost": 70,
    "realized_margin": 30,
    "bonus": 0
  },
  "by_agent": [
    {
      "agent_id": 901,
      "name": "Front desk",
      "calls": 380,
      "minutes": 412.5,
      "amount": 61.88,
      "telephony_minutes": 0,
      "telephony_amount": 0,
      "total_amount": 61.88
    }
  ]
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

organization_id*integer

The client organization, as listed by GET /reseller/organizations.

Query Parameters

month?string

A calendar month, as YYYY-MM.

date_from?string

First day of a custom range, as YYYY-MM-DD. Send with date_to.

Formatdate
date_to?string

Last day of a custom range, as YYYY-MM-DD. Send with date_from.

Formatdate

Response body

application/json

Response Body

The client's usage and your margin on it for the period.

application/json
organization_id?integer
name?string
date_from?string
Formatdate
date_to?string
Formatdate
timezone?string
currency?string

Always USD.

balance?number

The client's balance now.

calls?integer
summary?

Spend by type. voice_ai and telephony carry minutes and amount. phone_numbers, channels, call_audit, asr_eval, whatsapp, sms, email and channel_renewal carry count and amount. addons is one line per add-on. whatsapp_activity counts incoming messages and active chats. total_amount is the sum of the spend.

margin?
by_day?
by_agent?
by_campaign?

campaign_id is null for calls outside a campaign.

by_number?
by_direction?
purchases?

Each phone number rental and channel purchase in the period. date is the day it was paid, in timezone.