Skip to main content

Verification API

Verify document authenticity using SHA-256 hashes.

Verify Hash

This endpoint is public — no authentication required.

GET /api/v1/verify/:hash

Response (Valid)

{
"valid": true,
"hash": "sha256:a1b2c3d4e5f6...",
"document_type": "COMMERCIAL_INVOICE",
"generated_at": "2026-03-31T10:00:05Z",
"shipment_ref": "SHP-2026-001"
}

Response (Not Found)

{
"valid": false,
"hash": "sha256:unknown...",
"message": "No document found with this hash"
}