BetaThe V4 API is in beta — endpoints and functionality may change.
Analyticsv2

Get risk-tolerance summary

GET/analytics/risk-tolerance/summary

Returns 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

AuthorizationRequiredstring

Your 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_countoptionalinteger
max_risk_leveloptionalstring
"low""medium""high"
max_risk_scoreoptionalnumber
phone_countoptionalinteger
high_risk_phonesoptionalobject[]

Array of object

phone_numberoptionalstring
risk_scoreoptionalnumber
risk_leveloptionalstring
"low""medium""high"
computed_atoptionalinteger | null

When 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.

Request
curl -X GET https://api.blooio.com/v2/api/analytics/risk-tolerance/summary \
Response objectexample
{  "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}