Parses a phone number and returns the localized country name that the number is from
Endpoint ID: | 6013 | |||||||||
Method: | GET | |||||||||
URL: | /services/phonenumber/describe/{phoneNumber}/{locale}?countryCode={countryCode}&countryCodeFormat={countryCodeFormat} | |||||||||
phoneNumber | Phone number to be parsed. Valid examples
| |||||||||
locale | Desired language Valid values are
| |||||||||
countryCode | Optional value to identify country of phoneNumber. | |||||||||
countryCodeFormat | Optional value to identify countryCode format. Valid values are
| |||||||||
Request body: | None | |||||||||
Response body: | JSON data with information of formatted phone number
Example – Description for +4529254029 in English { "country":Denmark }
| |||||||||
Status codes: | 200 | Phone number is formatted successfully. | ||||||||
400 | The following sub codes may be returned:
| |||||||||
404 | No matching country code found for country code format. |