Verify File
Verify a file by sending its hash. Returns verification results and optionally a PDF report when x-report-required is set.
| Attribute | Details |
|---|---|
| Method | POST |
| Description | This endpoint verifies a file by hash against the blockchain. Send the hash as JSON in the body. Optionally request a PDF report. |
| Endpoint | https://integritas.technology/core/v2/verify/file |
Request Headers
| Header | Value | Description |
|---|---|---|
| Content-Type | application/json | Specifies the content type as JSON |
| x-api-key | your-api-key | Add your API-key from your profile at https://integritas.technology/ |
| x-report-required | true / false | Request NFT trace from the verification process |
| x-request-id | your-choice | Add a request id to trace every step of the process |
Request Body
| Request Type | Content-Type | Body Type | Keys | Description |
|---|---|---|---|---|
| Raw data | application/json | JSON | hash | Input hash of file |
| Raw data | application/json | JSON | filename | Optional. File name |
| Raw data | application/json | JSON | filesize | Optional. File size (bytes) |
When provided, filename and filesize are used in the PDF report and in matched segments (the full file will be treated as one segment).
Example
Request Examples
API Demo
Try the endpoint with your own API key and hash. The request is sent directly to the API, and the response is displayed below.
Your API key is only used for this request and is not stored.
API Response
The response contains verification results and optionally a PDF report download when x-report-required is set.