Skip to content

Carrier Lookup

pinpointsmsvoicev2_carrier_lookup R Documentation

Returns information about a destination phone number, including whether the number type and whether it is valid, the carrier, and more

Description

Returns information about a destination phone number, including whether the number type and whether it is valid, the carrier, and more.

Usage

pinpointsmsvoicev2_carrier_lookup(PhoneNumber)

Arguments

PhoneNumber

[required] The phone number that you want to retrieve information about. You can provide the phone number in various formats including special characters such as parentheses, brackets, spaces, hyphens, periods, and commas. The service automatically converts the input to E164 format for processing.

Value

A list with the following syntax:

list(
  E164PhoneNumber = "string",
  DialingCountryCode = "string",
  IsoCountryCode = "string",
  Country = "string",
  MCC = "string",
  MNC = "string",
  Carrier = "string",
  PhoneNumberType = "MOBILE"|"LANDLINE"|"OTHER"|"INVALID"
)

Request syntax

svc$carrier_lookup(
  PhoneNumber = "string"
)