API - Description - Phone - POST

Support DQE
Support DQE
  • Updated

Use this endpoint to validate and format a phone number, using the POST method.

Related Phone documentation:

Phone POST request

There is one Phone API:

  • /TEL/: validates the phone number.

Endpoint

https://{SERVER_ADDRESS}/TEL/

Send the following parameters in the request body using x-www-form-urlencoded.

Parameter Value Description Mandatory/Optional
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 the format values 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

Was this article helpful?

0 out of 0 found this helpful