GET contact_information/validate_phone_number

This method returns if the phone number is in a valid format

Available from CRM.COM R15.0.0

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

phone_type

(mandatory)

String

The phone type for which the number is validated which can be

LANDLINE, MOBILE, FAX, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

country_identifier

(mandatory)

Country identifier

The country for the phone which the number is validated. The allowed country identifier fields are the following:

Unable to render {include} The included page could not be found.

phone_number

(mandatory)

StringThe phone number which is validated

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Multiple semi-optional parameters can be specified in each call

Response Data

Name

Type

Description

boolean

String

Defines if the phone number is in valid format or not

 

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

{
    "data": {
        "is_valid": true
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}