When you claim a certificate, TrustedForm returns either a “consent” or
“consent+data” JSON response depending on your subscription. You can
“view” this same response by sending a GET request to the same endpoint.
The following list provides examples of when you might want to use this endpoint:
Set to application/json to return a JSON response
Certificate ID
Success
{
"matching": [
"c4a8e7fe184993964ae81380e91579015306838a",
"d511850d569bcd7802c30f54de34bb9f2b31eede"
],
"non_matching": ["d511850d569bcd7802c30f54de34bb9f2b31eed1"]
}A boolean indicating whether the certificate is masked
A certificate url that masks the lead source url and snapshot
The result of the attempt to verify consent. Success indicates that the certificate was claimed and did not generate any warnings related to consent verification. Failure indicates that the certificate was claimed but generated warnings because no fingerprints matched, forbidden scan terms were found or required scan terms were missing. Error indicates that the certificate was not claimed and the request should be reviewed and potentially retried.
success, failure, error {
"forbidden_found": ["Enim sit amet venenatis"],
"forbidden_not_found": ["Est velit egestas"],
"required_found": ["lorem ipsum dolor"],
"required_not_found": ["Ad qui aperiri"]
}Provides an explanation for failure or error.
Only used for outcome of failure or error.
An array of strings indicating possible issues with the certificate
none of the provided fingerprints match: No fingerprints matched.snapshot scan failed: The snapshot was unable to be scanned.string not found in snapshot: A required page scan text was not found.string found in snapshot: A forbidden page scan text was found.none of the provided fingerprints match, snapshot scan failed, string not found in snapshot, string found in snapshot