There is one API available for Phone:
- /TEL/: provides the validation of the phone number
Header:
https://{SERVER_ADDRESS}/TEL/?Pays={COUNTRY_CODE}&Tel={TEL}&Format={FORMAT}&Status=Y&TimeOut={TIME}&Separator={SYMBOL}&Licence={LICENCE_CODE}
Simply replace the items in braces with your information:
| Parameter | Expected value type | Value description | Mandatory/Optional |
| Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
| 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} | Maximum query time for data verification. 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 number in the format: +YY.X.XX.XX.XX.XX |
| 9 | Phone number in the format: YYXXXXXXXXX |
Related to