API getincomingcallscount
Appearance
7Kas VoIP REST API function. Available to: SuperRoot, Operator, Client.
Description
Row count for the given filter (smart pagination). model=vic|tic.
Call
GET …/7Kas?func=getincomingcallscount&ukey=YOUR_KEY&…
Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
year |
integer | Yes | — | Year. |
month |
integer | Yes | — | Month, 1-12. |
model |
string | No | vic |
tic) |
accountcodeid |
integer | No | — | Filter by account id (non-clients). |
day |
integer | No | — | Filter by day. (model=vic only) |
hour |
integer | No | — | Filter by hour. (model=vic only, requires day) |
Example
https://api.7kas.com:9080/7Kas?func=getincomingcallscount&ukey=KEY&year=2026&month=7&model=vic
Response
Object: {"total_rows":N}.
Column visibility by profile
Pricing/cost columns depend on the caller's profile (GOD LAW):
- SuperRoot — provider cost + selling price + profit (VOC only).
- Operator — account price + root price + profit (VOC only).
- Client (direct, root=0) — only its own selling price (accountcode column).
- Client (of operator, root>0) — only its own selling price (root column).
Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator, API profile Client (of operator), API profile Client (direct)