Last active
April 22, 2021 16:42
-
-
Save alexkwolfe/5985762 to your computer and use it in GitHub Desktop.
TrustedForm Claim API Revision
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X POST -uAPI:YOUR_API_KEY https://cert.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908 -H 'Accept: application/json' -H 'Content-Type: application/x-www-form-urlencoded' -d'vendor=SuperInstantLeads&reference=ABC123&fingerprint=03685a113a7bf67d146c05d2165c9fccbfd02719&fingerprint=c0c686d4b4c680347df82742250093bbbf361b3b' | |
> HTTP/1.1 201 Created | |
> Content-Type: application/json; charset=utf-8 | |
> Location: https://app.trustedform.com/claims/51ddbe9d82d28b8d38000009 | |
> | |
> { | |
> "id": "51ddbe9d82d28b8d38000009", | |
> "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", | |
> "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", | |
> "snapshot_url": "http://snapshots.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908/index.html", | |
> "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" | |
> }, | |
> "claims": [ | |
> { | |
> "id": "51ddbe9d82d28b8d38000009", | |
> "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" | |
> } | |
> ] | |
> } | |
> } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X POST -uAPI:YOUR_API_KEY 'https://cert.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908' -d 'reference=123ABC&vendor=SuperInstantLeads&fingerprint=921e1dbc260148681f6f14a966c3e3242a4d3912&fingerprint=12864b281c728bdca0f2102dba31308e1014fe4a' | |
> HTTP/1.1 200 OK | |
> Content-Type: application/json; charset=utf-8 | |
> | |
> { | |
> "token": "8189d5a77937b27a3d85ca181fc34f2b46a60908", | |
> "ip": "69.116.128.27", | |
> "framed": true, | |
> "location": "http://activeprospect.hostedwebform.com/contact-us?<query string hidden>", | |
> "parent_location": "http://www.activeprospect.com/contact-us.php", | |
> "user_agent": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4", | |
> "browser": "Safari 5.0.3", | |
> "operating_system": "OS X 10.8", | |
> "reference":"123ABC", | |
> "vendor":"SuperInstantLeads", | |
> "created_at": "2010-12-22T11:20:22-00:00", | |
> "claimed_at":"2010-12-22T11:21:59-00:00", | |
> "fingerprints": ["921e1dbc260148681f6f14a966c3e3242a4d3912", "12864b281c728bdca0f2102dba31308e1014fe4a"], | |
> "snapshot_url": "https://snapshots.trustedform.com/8189d5a77937b27a3d85ca181fc34f2b46a60908", | |
> "geoip": { | |
> "request":"69.116.128.27", | |
> "ip":"69.116.128.27", | |
> "country_code2":"US", | |
> "country_code3":"USA", | |
> "country_name":"United States", | |
> "continent_code":"NA", | |
> "region_name":"NJ", | |
> "city_name":"Asbury Park", | |
> "postal_code":"07712", | |
> "latitude":40.24340000000001, | |
> "longitude":-74.0387, | |
> "dma_code":501, | |
> "area_code":732, | |
> "timezone":"America/New_York" | |
> } | |
> } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment