Analyticsv2
Get risk-tolerance summary
GET
/analytics/risk-tolerance/summaryReturns a lightweight cached rollup of the organization's most recent risk scores (highest score/level and the count of high-risk numbers). Read from a cache populated by the full report; returns zeros with computed_at: null when the organization has never been scored. This endpoint never recomputes, so it is cheap to poll on load.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
Returns
high_risk_countoptionalintegermax_risk_leveloptionalstring"low""medium""high"max_risk_scoreoptionalnumberphone_countoptionalintegerhigh_risk_phonesoptionalobject[]
high_risk_phonesoptionalobject[]Array of object
phone_numberoptionalstringrisk_scoreoptionalnumberrisk_leveloptionalstring"low""medium""high"computed_atoptionalinteger | nullWhen the cached summary was last computed (Unix epoch ms), or null if never.
Response codes
200Cached risk summary
401Authentication required or invalid
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X GET https://api.blooio.com/v2/api/analytics/risk-tolerance/summary \{ "high_risk_count": 3, "max_risk_level": "low", "max_risk_score": 0, "phone_count": 3, "high_risk_phones": [ { "phone_number": "+15551234567", "risk_score": 0, "risk_level": "low" } ], "computed_at": 0}