v1

latestOpenAPI 3.0.02026-07-2272351.3 KB
Viewing Certificates

Viewing a Certificate

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:

  • You were unable to capture the initial response
  • You need to validate if you've claimed the certificate
get/{cert_id}

Path parameters

cert_idstring required

Certificate ID

Headers

Acceptstring

Set to application/json to return a JSON response

Response

Success

OR
OR
OR

Example response

{
  "fingerprints": {
    "matching": [
      "c4a8e7fe184993964ae81380e91579015306838a",
      "d511850d569bcd7802c30f54de34bb9f2b31eede"
    ],
    "non_matching": [
      "d511850d569bcd7802c30f54de34bb9f2b31eed1"
    ]
  },
  "is_masked": false,
  "masked_cert_url": "https://example.com/1145b610ac97aa9f92d7cd2195446eac5e67ce53",
  "outcome": "success",
  "scans": {
    "forbidden_found": [
      "Enim sit amet venenatis"
    ],
    "forbidden_not_found": [
      "Est velit egestas"
    ],
    "required_found": [
      "lorem ipsum dolor"
    ],
    "required_not_found": [
      "Ad qui aperiri"
    ]
  },
  "warnings": []
}
All 7 operations