Phone validation request
Get phonelookup request
Header:
https://{SERVER_ADDRESS}/{VERSION}/phonelookup/
The value {SERVER_ADDRESS} is the address of the DQE server that will process the data.
The value {VERSION} is the version of the API that will be used
Simply add the parameters below in the Body to «x-www-form-urlencoded» :
| Parameter | Value of the parameter | Value description | Mandatory/Optional |
| Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
| Number | {NUMBER} | Phone number to be validated | Mandatory |
| Country | {COUNTRY_CODE} | Country in which the phone number will be validated ISO country code (3 letters) | Mandatory |
| Format | {FORMAT} | Format | Mandatory (can be empty) |
| Activity | {ACTIVITY} | 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 (if not specified, default is N) |
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