Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active March 26, 2019 15:44
Show Gist options
  • Save activeprospect-support/0c0d2ca5a661d27d971c to your computer and use it in GitHub Desktop.
Save activeprospect-support/0c0d2ca5a661d27d971c to your computer and use it in GitHub Desktop.
Calculating Lead Fingerprint
curl -X POST -uAPI:fc36c8168cbb16784f6a29f89695dd92 'https://cert.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908' \
-d 'fname=Tom&lname=Jones&[email protected]+&ph1=512-789-1111&ph2=512.555.5785&aff_id=123&reference=ABC123&vendor=SuperInstantLeads'
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "51ddbe9d82d28b8d38000009",
"age": 10,
"page_id": "51de277782d28be89900008a",
"warnings": [],
"reference": "ABC123",
"vendor": "SuperInstantLeads",
"fingerprints": {
"matching": [
"03685a113a7bf67d146c05d2165c9fccbfd02719"
],
"non_matching": [
"c0c686d4b4c680347df82742250093bbbf361b3b"
]
},
"created_at": "2013-07-10T20:05:49Z",
"expires_at": "2013-08-09T20:05:49Z",
“masked”: false,
"masked_cert_url": "http://cert.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908",
"cert": {
"token": "8189d5a77937b27a3d85ca181fc34f2b46a60908",
"ip": "76.253.76.139",
"location": "http://activeprospect.hostedwebform.com/contact-us?<query string hidden>",
"parent_location": "http://www.activeprospect.com/contact-us.php",
"framed": true,
"browser": "Safari 6.0.5",
"operating_system": "OS X 10.8",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1",
"created_at": "2013-07-10T02:10:50Z",
"expires_at": "2013-07-13T02:10:50Z",
"geo": {
"lat": 30.2672,
"lon": -97.7431,
"city": "Austin",
"state": "TX",
"postal_code": "78703",
"country_code": "US",
"time_zone": "America/Chicago"
},
"event_duration":10545,
"claims": [
{
"id": "51ddbe9d82d28b8d38000009",
"page_id": "51de277782d28be89900008a",
"age": 7,
"warnings": [],
"reference": "ABC123",
"vendor": "SuperInstantLeads",
"created_at": "2013-07-10T20:05:49Z",
"expires_at": "2013-08-09T20:05:49Z",
"fingerprints": {
"matching": [
"03685a113a7bf67d146c05d2165c9fccbfd02719"
],
"non_matching": [
"c0c686d4b4c680347df82742250093bbbf361b3b"
]
},
"scans": {
"found": ["How did you hear about us", "First Name"],
"not_found": []
},
"warnings": ["string found in snapshot"]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment