Obfuscate API
Overview
Use the Obfuscate API to replace all personal data with 'Data Obfuscated'. When calling with a transaction ID the API will replace IP, email, name, street, city, state, postalcode, and phone with 'Data Obfuscated'. Use this API when GDPR and other privacy laws require the obfuscation of personal information.
Endpoint (6.4)
https://feed-api.ehawk.net/obfuscate/
The API accepts both HTTPS POST and HTTPS GET.
For GET use the format:
https://feed-api.ehawk.net/obfuscate/?keyword=value
GET API call example:
https://feed-api.ehawk.net/obfuscate/?apikey=your_apikey&transaction_id=12345
CRUL POST API call example:
curl -X POST -H Content-Type:application/x-www-form-urlencoded -d 'apikey=your_apikey&transaction_id=12345' https://feed-api.ehawk.net/obfuscate/
Keywords
Every API call requires the apikey and an E-HAWK transaction_id that was returned in the vetting API JSON or available in the portal.
Keyword | Value and Format |
---|---|
apikey | Your E-HAWK Vetting API KEY (required) |
transaction_id | E-HAWK transaction ID that was returned in the vetting API JSON or available in the portal |
JSON Response
The returned JSON wis in the following format:
{ "response": "Data Obfuscated", "status": 200 }
Status Codes
Status | Response |
---|---|
200 | OK (no errors) |
-6 | IP not in ACL |
404 | Transaction Not Found |
502 | Invalid APIKEY or URL |