Lookup phone number information

Retrieves detailed information about a phone number including validation, formatting, country information, and available messaging channels. The customer ID is extracted from the authentication token.

GET
/v2/number-lookup

Query Parameters

phoneNumber*string

Response Body

application/json

curl -X GET "https://api.sent.dm/v2/number-lookup?phoneNumber=%2B1234567890"
{
  "phoneNumber": "1234567890",
  "formatE164": "+1234567890",
  "formatInternational": "+1 234-567-890",
  "formatNational": "(234) 567-890",
  "formatRfc": "tel:+1-234-567-890",
  "countryCode": "1",
  "regionCode": "US",
  "numberType": "mobile",
  "phoneTimezones": "America/New_York"
}
Empty
Empty