Overview
Authenticate Session can score the account’s phone number in the same call. Send the number inaccount.phone and choose a mode in account.phone_mode:
phone block on account, beside email.
Every call that sends account.phone checks that the number is valid, with or without phone_mode, the same way email is checked. Without phone_mode the block holds only data.phone.e164 and data.phone.valid, nothing is scored, and the call is not billed for phone intelligence.
On Predict User (v1 beta), send user.phone as an object with the mode inside it. The result comes back in user.phone, in the same shape as the block below.
Phone intelligence in Authenticate Session is enabled per project. Contact us to turn it on.
+ and country code. A number without a country code is read as a number in the session IP’s country.
Invalid numbers
A number that cannot be parsed still returns the phone block, withdata.phone.e164: null and data.phone.valid: false. With a phone_mode, it also returns phone_risk: 1, decision: "high_risk", and the phone_invalid risk signal, as the webhook does.
Modes
How standard works
- Verisoul looks up the number’s line type and carrier, dates its block from public numbering plans, checks public receive-SMS lists, and compares the session IP’s location with the number’s country.
- The result is scored and returned on
account.phonein the same response.
How pro works
- The first call runs
standardand returns its result. It also starts a full Phone Intelligence API run on the number. The run uses the account’sfirst_name,last_name, andemail, and the session IP’s country, as its claims. - While the run is in progress,
history,breach_intelligence, andidentity_intelligenceare null. - When the run finishes, Verisoul sends the
phone.intelligence.completedwebhook. Its payload carries thesession_idandaccount_idof the call that started it. See the Webhook Payload Reference. - Later
procalls for the same number return the finished result.history,breach_intelligence, andidentity_intelligencefill in, andphone_riskand the signals come from the full run.
pro run, so repeat calls reuse it and start no new run.
Response
scores and signals hold the score and signals. data holds everything else in the webhook data.result object, with the same fields. The example below is a finished pro run, so every field has a value:
standard mode, and while a pro run is in progress, history, breach_intelligence, identity_intelligence, and number_age.first_seen_at are null.
phone_risk ranges from -1 to 1:
- -1 represents the most trustworthy numbers
- 1 represents the highest risk numbers
See the Webhook Payload Reference for each field.
What
data holds depends on the mode:
On Predict User,
user.phone is always present. When the request has no mode, only data.phone.e164 and data.phone.valid are set and everything else is null.