Documentation

Send File and Get Hash

Submit a file to receive its SHA3-256 hash. This is the first step in the stamping process.

AttributeDetails
MethodPOST
DescriptionThis endpoint is used to submit a file. Send the file as formdata in the body.
Endpointhttps://integritas.technology/core/v1/file/hash

Request Headers

HeaderValueDescription
Content-Typemultipart/form-dataSpecifies the content type as JSON
x-api-keyyour-api-keyAdd your API-key from your profile at https://integritas.technology/
x-request-idyour-choiceAdd a request id to trace every step of the process

Request Body

Request TypeContent-TypeBody TypeKeysDescription
File uploadmultipart/form-dataform-datafileSend file

Request Examples

curl -X POST https://integritas.technology/core/v1/file/hash \
  -H "x-api-key: your-api-key" \
  -H "x-request-id: your-choice" \
  -F "file=@path/to/yourfile.pdf"

API Demo

Try the endpoint with your own API key and file. 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.

Get your API key from integritas.technology

Add a request ID to trace every step of the process


API Response

The response from the API contains the hash of the file.

Example Response

{
  "service": "CORE_API",
  "apiVersion": 1,
  "requestId": "send-file-hash",
  "status": "success",
  "statusCode": 200,
  "message": "Hash computed",
  "timestamp": "2026-01-16T14:15:01.308Z",
  "data": {
    "hash": "E630FCDE204036E93323AE99843BF0EC6D03CAEB51CBBEA11E03D6739F8E9C3F",
    "filename": "source_256kb.pdf",
    "mimeType": "application/pdf"
  }
}

Response Fields

For a complete description of the response envelope and fields used by this endpoint, see API Response Schema — Send File and Get Hash.

On this page