There is one API available for Phone:
- /TEL/: provides the validation of the phone number
Header: https://{SERVER_ADDRESS}/TEL/
The value {SERVER_ADDRESS} is the address of the DQE server that will process the data.
Simply add the parameters below in the Body to "x-www-form-urlencoded":
| Parameter | Expected value type | Value description | Mandatory/Optional |
| Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
| Pays | {COUNTRY_CODE} | ISO country code (3 letters) | Mandatory |
| Tel | {TEL} | Phone number to validate | Mandatory |
| Format | {FORMAT} | Desired formatting level (see table below) | Optional |
| Status | Y |
In the case of a level 2 verification on a French mobile phone. Fill in the "Y" value to obtain 2 additional output fields: "Status" and "LabelStatus" > see details here: Level 2 verification |
Optional |
| TimeOut | {TIME} |
Expected value will be seconds. Example: 500ms --> 0.5s |
Optional |
| Separator | {SYMBOL} |
Expected value can be "-" or "." |
Optional |
The values to be returned in the "format" field are defined in the table below
| 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 (YY = country code) |
| 3 | Phone number in the format: +YY XXXXXXXXX (YY = country code) |
| 4 | Phone number in the format: +YY (0) XXXXXXXXX (YY = country code) |
| 5 | Phone number in the format: +YYXXXXXXXXX (YY = country code) |
| 6 | Phone number in the format: +YY (0) X XX XX XX XX (YY = country code) |
| 7 | Phone number in the format: XX.XX.XX.XX.XX (Specifically for France) |
| 8 | Phone numebr in the format: +YY.X.XX.XX.XX.XX |
Related to