Evidence API
The Evidence API provides cryptographic proofs of delivery for every webhook event processed by Zen Mesh. Each delivery produces a Merkle-tree inclusion proof that can be independently verified.
Read Delivery Evidence
curl -H "Authorization: Bearer $ZEN_API_KEY" \
-H "X-Tenant-ID: $ZEN_TENANT_ID" \
https://api.zen-mesh.io/v1/evidence/<delivery-id>
Response:
{
"delivery_id": "dlv_abc123",
"merkle_root": "a1b2c3d4e5f67890...",
"inclusion_proof": [
"x1y2z3...",
"p4q5r6..."
],
"leaf_hash": "abcdef...",
"timestamp": "2026-06-01T12:00:03Z",
"status": "confirmed"
}
List Evidence for a Source
curl -H "Authorization: Bearer $ZEN_API_KEY" \
-H "X-Tenant-ID: $ZEN_TENANT_ID" \
https://api.zen-mesh.io/v1/sources/<source-id>/evidence?limit=10
Verify a Merkle Inclusion Proof
Clients can verify delivery integrity without trusting the platform:
- Retrieve the evidence proof for the delivery
- Compute
SHA-256(delivery_payload + timestamp + tenant_id) - Combine with the
inclusion_proofhashes per the Merkle tree algorithm - Compare the resulting root with
merkle_root
If the computed root matches the published root, the delivery is cryptographically confirmed.
Pagination
Evidence lists support cursor-based pagination with limit and cursor parameters.