Class Insights
- Namespace
- Vonage.IdentityInsights.GetInsights
- Assembly
- Vonage.dll
A map of objects representing the requested insight(s), where each key corresponds to the name of the insight and the value contains the result and status of that insight.
public record Insights : IEquatable<Insights>
- Inheritance
-
Insights
- Implements
- Inherited Members
Constructors
Insights(FormatInsights, SimSwapInsights, CarrierInsights, CarrierInsights, LocationVerificationInsights, SubscriberMatchInsights, RoamingInsights, ReachabilityInsights, DeviceSwapInsights)
A map of objects representing the requested insight(s), where each key corresponds to the name of the insight and the value contains the result and status of that insight.
public Insights(FormatInsights Format, SimSwapInsights SimSwap, CarrierInsights OriginalCarrier, CarrierInsights CurrentCarrier, LocationVerificationInsights LocationVerification = null, SubscriberMatchInsights SubscriberMatch = null, RoamingInsights Roaming = null, ReachabilityInsights Reachability = null, DeviceSwapInsights DeviceSwap = null)
Parameters
FormatFormatInsightsValidates the format of a phone number and provides information based on that format.
SimSwapSimSwapInsightsInformation about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
OriginalCarrierCarrierInsightsInformation about the network the number was initially assigned. Information based on the numbering plan prefix.
CurrentCarrierCarrierInsightsInformation about the network the number is currently assigned. This is applicable to mobile numbers only.
LocationVerificationLocationVerificationInsightsVerify whether the location of a user device is within the area specified in the request. Only present when requested.
SubscriberMatchSubscriberMatchInsightsCompare information associated with a mobile phone user against records verified by the mobile operator in their KYC system. Only present when requested.
RoamingRoamingInsightsCheck roaming status and country for a given device on a mobile network. Only present when requested.
ReachabilityReachabilityInsightsCheck the connectivity status for a given device, including whether it is connected to the network for data, SMS, or both. Only present when requested.
DeviceSwapDeviceSwapInsightsInformation about any recent physical device change for a mobile phone number. A recent device swap may indicate a potential risk of account takeover. Only present when requested.
Properties
CurrentCarrier
Information about the network the number is currently assigned. This is applicable to mobile numbers only.
[JsonPropertyName("current_carrier")]
public CarrierInsights CurrentCarrier { get; init; }
Property Value
DeviceSwap
Information about any recent physical device change for a mobile phone number. A recent device swap may indicate a potential risk of account takeover. Only present when requested.
[JsonPropertyName("device_swap")]
public DeviceSwapInsights DeviceSwap { get; init; }
Property Value
Format
Validates the format of a phone number and provides information based on that format.
[JsonPropertyName("format")]
public FormatInsights Format { get; init; }
Property Value
LocationVerification
Verify whether the location of a user device is within the area specified in the request. Only present when requested.
[JsonPropertyName("location_verification")]
public LocationVerificationInsights LocationVerification { get; init; }
Property Value
OriginalCarrier
Information about the network the number was initially assigned. Information based on the numbering plan prefix.
[JsonPropertyName("original_carrier")]
public CarrierInsights OriginalCarrier { get; init; }
Property Value
Reachability
Check the connectivity status for a given device, including whether it is connected to the network for data, SMS, or both. Only present when requested.
[JsonPropertyName("reachability")]
public ReachabilityInsights Reachability { get; init; }
Property Value
Roaming
Check roaming status and country for a given device on a mobile network. Only present when requested.
[JsonPropertyName("roaming")]
public RoamingInsights Roaming { get; init; }
Property Value
SimSwap
Information about any recent SIM pairing changes related to a mobile account. A recent SIM swap may indicate a potential risk of account takeover.
[JsonPropertyName("sim_swap")]
public SimSwapInsights SimSwap { get; init; }
Property Value
SubscriberMatch
Compare information associated with a mobile phone user against records verified by the mobile operator in their KYC system. Only present when requested.
[JsonPropertyName("subscriber_match")]
public SubscriberMatchInsights SubscriberMatch { get; init; }