Greip icon

Greip

Get fraud prevention, threat intelligence, and risk scoring data from Greip.

Risk Scoring → Phone Scoring

AI-generated

Summary

Score and validate a phone number based on its country code.

Inputs

  • phone (required) — The phone number to validate and score (in international format).
  • countryCode (required) — The ISO 3166-1 alpha-2 country code.
  • additionalFields — Optional additional parameters, including test mode and user ID.
  • additionalFields.mode — Whether to use test mode for the lookup.
  • additionalFields.userID — User identifier to link requests to a specific user.

Output shape

a score object related to the phone number validation and scoring

Returns a score object with details on the phone's risk assessment.

Examples

Example 1: A workflow checks the risk of a phone number before sending an SMS campaign, using the phone scoring operation.

Input phone number in international format, specify country code, and optionally include a user ID.

Discussion