This guide explains how to use the VOCPhone Portal V1 Call APIs to retrieve call data and generate statistics such as total outbound/inbound calls, total duration, total cost, and missed call counts.
All V1 call endpoints require JWT authentication. Include the token in the Authorization header

The authenticated user's account ID is automatically used to scope all queries — you only see calls belonging to your account.






How type filtering works:
Inbound — returns inbound calls where the destination does not start with 611300 (standard inbound)
Inbound-1300 — returns inbound calls where the destination starts with 611300 (1300 number calls)

Both endpoints are paginated. To compute statistics across a full date range, you must iterate through all pages

Total Outbound and Inbound Calls



A call is considered missed when billed seconds is 0 — meaning the call was never answered.




Ring Time (Inbound Only)
The inbound endpoint returns total time seconds alongside billed seconds. The difference is the ring time
.png)
Dates are in AEST — The server stores all timestamps in Australia/Sydney timezone. Provide date filters in AEST.
Default date range — If dateFrom/dateTo are omitted, both endpoints default to the current calendar month.
Pagination limit — Maximum perPage is 50. Requests exceeding this will be rejected.
Cost field difference — Outbound uses call_cost directly; inbound maps tflc_call_charge as call_cost. Both are returned as call_cost in the response.
Rate limiting — When iterating pages, add reasonable delays between requests to avoid rate limits.