Number reputation (Twilio Lookup, Numverify)
Rate phone numbers with your own account at Twilio Lookup or Numverify: is the number valid, what kind of line is it, who is the carrier and, with Twilio, how risky does the provider rate it. You can use the answer in automations (for example to ignore a suspicious caller or skip an SMS to a number that is not valid), ask for it from an AI assistant, and have MonoPbx check your own outbound numbers on a schedule.
Open Admin > Integrations > Twilio Lookup or Numverify (/admin/integrations). You need integrations:read to see them and integrations:write to install or change them. Both are bring your own key: the provider bills each lookup to your own account, MonoPbx does not resell lookups.
What the providers measure, and what they do not
Both providers describe a number you look up:
- Twilio Lookup tells you whether the number is valid, its line type and carrier, and an SMS pumping risk score from 0 to 100 (higher is riskier). The score rates how likely the number is to be used for SMS traffic fraud, from carrier and blocking data. Twilio's own guidance reads 0 to 60 as fine, 60 to 75 as mild, 75 to 90 as moderate and 90 and up as high; MonoPbx treats 75 and up as risky unless you change it.
- Numverify tells you whether the number is valid, its line type, carrier and country. It gives no score. You decide which line types you treat as risky (for example VoIP).
Neither tells you how carriers or call-labelling apps show calls from your own numbers ("Spam likely"). That data is sold to carriers and has no self-service API, so MonoPbx does not claim to show it. A bad score on one of your own numbers means the provider rates the number as risky or it is not a valid, reachable line; it does not prove your callers see a spam label. Your own marks (the company spam list and the numbers your people blocked) always count as risky and are never overruled by a good score.
Connect a provider
- Twilio Lookup: create a saved credential of type Twilio Lookup (or fill the fields in the install form) with your Account SID (or an API key SID) and your Auth token (or the API key secret). Choose what to look up: line type and carrier and SMS pumping risk score (both on by default; Twilio bills each separately, the basic validity answer is free).
- Numverify: create a saved credential of type Numverify with your API key from APILayer. The default address works over HTTPS on every plan. Switch on original endpoint only if your plan uses the original
access_keyaddress (it needs a plan with HTTPS). - Press Test connection. Twilio is tested with a free basic lookup; a Numverify test counts as one lookup on your plan.
Keys are stored encrypted and never shown again. See Saved credentials.
The "Rate number" node in automations
In the automation designer, group Data tables, add Rate number (score, line type). It works in call flows (a few seconds at most, otherwise the error exit is taken) and in event flows.
| Field | What it does |
|---|---|
| Account | The Twilio Lookup or Numverify install to use. |
| Phone number | The number to rate: {{trigger.caller}} (the caller), {{trigger.called}} (the number dialled) or a variable such as {{vars.number}}. |
| Cached answer at most (hours) | Take a stored answer that is at most this old (nothing is billed). Empty: always ask the provider. Twilio advises against keeping its score for long. |
| Risky from score | From this score up the verdict is risky (default 75; Twilio only). |
| Risky line types | Line types that are risky in themselves, for example voip; the way to use Numverify. |
| Invalid number counts as risky | On unless you switch it off. |
Outputs, read as nodes.<id>.<name>: verdict (risky, ok or unknown), risky, score, risk_category, line_type, carrier, country, valid, status (ok, invalid_number, not_found or partial), provider, cached, age_hours and internal_suspect. Follow the node with a Switch on verdict to branch (risky, ok). Use the node's error exit for a provider that cannot answer (wrong key, plan limit, timeout) so the flow still carries on.
Check your own outbound numbers on a schedule
The scheduled check looks up the numbers your company places calls from: the caller IDs of your users, the numbers of your AI outbound pools, single numbers of your trunks and the numbers bought through MonoPbx Voice. It runs every interval hours (default 24) and looks up at most max numbers per pass (default 50, least recently checked first), because the provider bills each lookup. It is off until you switch it on.
- A number that is risky under your thresholds, or that your own marks call suspect, raises one OutboundNumberReputation warning for your company (administrators are mailed, see Alerts). The alert names how many numbers, never which; the list of numbers is in the results below. It resolves when a later check rates them as fine or you switch the check off.
- With rotation on, a flagged number is switched off in every AI outbound pool that has another enabled number. A pool is never emptied, nothing is deleted and each rotation is audited. Other uses of the number (user caller IDs, trunks) are left as they are: change them yourself.
Today the schedule is set through the API (GET and PUT /api/v1/integrations/reputation/monitor, with If-Match) or from an AI assistant; a console page for it will follow.
Ask from an AI assistant (MCP)
With the integrations:read scope an assistant can read the stored answers and the schedule; with integrations:write it can run one lookup (billed to your provider account, so it should only do it for a number you asked about).
| Tool | What it does |
|---|---|
listReputationResults | The stored answers, newest first. Filter by number to read the last score of one number, or flagged=true for the answers rated risky (the source field tells the scheduled check's answers from the others). |
getReputationMonitor | Whether the scheduled check is on and how it is set. |
runReputationLookup | Looks one number up now with your provider account. |
Limits and costs
- Every lookup that reaches the provider is billed by the provider. A stored answer is not. Twilio prices change; check its pricing page for Line Type Intelligence and SMS Pumping Risk before you switch the schedule on for many numbers.
- The data comes under your provider's terms. MonoPbx keeps answers for your company only and never shares them between companies.
- Numverify's free plan has a small monthly allowance; the scheduled check stops for the pass when the provider refuses the key or the limit, and the install shows the failure.