This function is designed to verify the information before Anonymization.


Resource Information

Response formatsJSON (default), XML
HTTP methodGET
Response familyanonymize        
HeaderAuthorization: api_key XXXXX



Resource URL

Production Server:

https://api.customergauge.com/v4.1/anonymize.json


GET Data

Use email address or telephone as key value.


GET Data Parameters Example Values

Key
Data
emailjohn.doe@example.com
telephone123456789



Example Requests

GET (json)https://api.customergauge.com/v4.1/anonymize.json?api_key=XXX&email=john.doe@example.com



CURL call

cURL example
curl -X GET https://api.customergauge.com/v4.1/anonymize.json -d email=john.doe@example.com


Example Result


Message reported on successful operation:


1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "Data": [
        {
            "first_name": "John",
            "last_name": "Doe",
            "email": "john.doe@example.com",
            "sms_telephone": "123456789",
            "number_customergauge": "10438"
        }
    ],
    "total": 1
}



Message reported on failed operation:


1
2
3
4
5
{
    "Error": {
        "Message": "Please make an API request by email or telephone"
    }
}
1
2
3
4
5
{
    "Error": {
        "Message": "Email is not valid"
    }
}