reports

Verify Report

Confirm a proof report is genuine: what it says, and its fingerprint. Open to anyone, no key needed.

Only what the report itself prints is returned, never more of the record. Hash the PDF you were given with SHA-256; if it equals sha256, the file is exactly the one issued.

Args: code: The verification code printed on the report, e.g. 7K2M9-QXD4F (any case, dash optional). reports: Injected ReportRepository.

Returns: The report's public facts.

Raises: HTTPException: 404 for an unknown code.

get/verify/{code}

Request

  • Base URL: https://api.licenscheck.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.licenscheck.com/verify/{code}
  • Auth: none declared

Path parameters

codestring required

Response

Successful Response

codestring required

The verification code.

issued_atstring date-time required

When it was issued.

as_ofstring date-time required

The moment it reports on.

contractor_namestring required

The licensee.

statestring required

The license's state.

license_numberstring required

The license number.

board_namestring required

The issuing board.

level'clear' | 'review' | 'risk' required

The overall verification verdict for a license.

wordstring required

The verdict as a word.

sha256string required

The issued PDF's SHA-256; a copy whose hash matches is unchanged.

Changes

No recorded changes to this operation across all 1 revision of this API.