Tier 2 — Pull Stats
Metrics
Query the same aggregated metric engine that powers your Callix dashboard report widgets. Pass a comma-separated list of metric keys and a date range, and receive computed values back.
Coming soon
This endpoint is documented but not yet live. The reference below shows the final API shape — we'll update these docs when it ships.
Endpoints
| GET | /metrics | Query aggregated stats for a date range |
GET /metrics
Query parameters
metricsstringComma-separated metric keys (see table below)startDatenumberUnix ms — start of the date range (inclusive)endDatenumberUnix ms — end of the date range (inclusive)repIdstring?Filter metrics to a specific rep's calls and dealsExample request
bash
curl "https://<deployment>.convex.site/api/v1/metrics?metrics=calls_showed,close_rate,total_revenue&startDate=1745000000000&endDate=1748000000000" \
-H "Authorization: Bearer callix_<key>"Example response
json
{
"metrics": [
{ "key": "calls_showed", "name": "Calls Showed", "value": 42 },
{ "key": "close_rate", "name": "Close Rate", "value": 0.31 },
{ "key": "total_revenue", "name": "Total Revenue", "value": 84500 }
],
"startDate": 1745000000000,
"endDate": 1748000000000
}Available metric keys
calls_totalTotal number of calls recordedcalls_showedCalls where the prospect showed upcalls_no_showCalls where the prospect did not showshow_ratecalls_showed / calls_totalclose_rateClosed deals / calls_showedoffers_madeCalls where an offer was madetotal_revenueSum of all payment amountsnew_customersCount of prospects who made a paymentrefundsSum of refunded payment amountsclosed_dealsCount of deals meeting the account's minimum payment thresholddials_totalTotal number of dialer calls attemptedpickup_rateDials answered / dials_totallead_countTotal number of prospects createdsite_visitorsUnique tracked visitors (requires Callix pixel)roastotal_revenue / ad spend (requires Meta integration)profittotal_revenue minus ad spend and refunds