Phone validation request
Get phonelookup request
Header:
https://{SERVER_ADDRESS}/{VERSION}/phonelookup/?Number={NUMBER}&Country={COUNTRY_CODE}&Licence={LICENCE_CODE}&Format={FORMAT}&Activity={ACTIVITY}
Simply replace the items in braces with your information :
| Parameter | Value of the parameter | Value description | Mandatory/Optional |
| Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
| Version | {VERSION} | Version of the API Example : v1 | Mandatory |
| 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