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.
phoneNumber*stringPhone number information retrieved successfully
application/json- response
Response containing phone number lookup data
phoneNumber?stringThe phone number in its original format
formatE164?stringThe phone number formatted in E.164 standard (e.g., +1234567890)
formatInternational?stringThe phone number formatted for international dialing (e.g., +1 234-567-890)
formatNational?stringThe phone number formatted for national dialing (e.g., (234) 567-890)
formatRfc?stringThe phone number formatted according to RFC 3966 (e.g., tel:+1-234-567-890)
countryCode?stringThe country calling code (e.g., 1 for US/Canada)
regionCode?stringThe ISO 3166-1 alpha-2 country code (e.g., US, CA, GB)
numberType?stringThe type of phone number (e.g., mobile, fixed_line, voip)
phoneTimezones?stringThe timezones associated with the phone number
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"}