API Restful - Description - Phone - GET

Support DQE
Support DQE
  • Updated

Use this Restful endpoint to validate and format landline or mobile phone numbers, using the GET method.

Related Phone documentation:

Restful Phone GET request

Endpoint

GET https://{SERVER_ADDRESS}/{VERSION}/phone/lookup?country={COUNTRY_CODE}&phone={PHONE}&format={FORMAT}&status={STATUS}&timeout={TIMEOUT}&separator={SEPARATOR}

Replace the values in braces with your own information.

Parameter Description Mandatory/Optional
country ISO 3-letter country code. Mandatory
phone Phone number to validate. Mandatory
format Desired output format. Optional
status Set to true to enable additional status verification when available. Optional
timeout Maximum query time for verification, in seconds. Optional
separator Separator character used in the formatted phone number. Accepted values include - and .. Optional

Format values

Value Description
0 Phone number without spaces.
1 Phone number with a space every two digits.
2 Phone number in international format with spaces.
3 Phone number in compact international format.
4 Phone number in international format with national prefix.
5 Phone number in compact international format without spaces.
6 Phone number in international format with national prefix and spaces.
7 Phone number separated with dots, France only.
8 Phone number in international format separated with dots.
9 Phone number with country code without plus sign.

Related to

Was this article helpful?

0 out of 0 found this helpful