Phone GET request
There is one API available for Phone:
- /TEL/: validates the phone number.
Endpoint
https://{SERVER_ADDRESS}/TEL/?Pays={COUNTRY_CODE}&Tel={TEL}&Format={FORMAT}&Status=Y&TimeOut={TIME}&Separator={SYMBOL}&Licence={LICENCE_CODE}
Replace the values in braces with your own information:
| Parameter | Value | Description | Mandatory/Optional |
|---|---|---|---|
| SERVER_ADDRESS | {SERVER_ADDRESS} | Address of the DQE server that will process the data. | Mandatory |
| Licence | {LICENCE_CODE} | Licence code assigned to your account. | Mandatory |
| Pays | {COUNTRY_CODE} | ISO 3-letter country code. | Mandatory |
| Tel | {TEL} | Phone number to validate. | Mandatory |
| Format | {FORMAT} | Desired formatting level (see table below). | Optional |
| Status | Y | Enables level 2 verification for French mobile phone numbers and returns the additional Status and LabelStatus fields. | Optional |
| TimeOut | {TIME} | Maximum query time for verification, in seconds. Example: 0.5 for 500 ms. | Optional |
| Separator | {SYMBOL} | Separator character. Accepted values: - or .. | Optional |
Format values
| Value | Description |
|---|---|
0 | Phone number without spaces. |
1 | Phone number with a space every two digits. |
2 | Phone number in the format +YY X XX XX XX XX. |
3 | Phone number in the format +YY XXXXXXXXX. |
4 | Phone number in the format +YY (0) XXXXXXXXX. |
5 | Phone number in the format +YYXXXXXXXXX. |
6 | Phone number in the format +YY (0) X XX XX XX XX. |
7 | Phone number in the format XX.XX.XX.XX.XX (France only). |
8 | Phone number in the format +YY.X.XX.XX.XX.XX. |
9 | Phone number in the format YYXXXXXXXXX. |
Related to