Get Proof Bundle

GEThttps://sandbox-api.truthlocks.com/v1/attestations/{id}/proof-bundleAuth required

Returns a complete proof bundle for offline verification. Includes the attestation, issuer information, public key, transparency log inclusion proof, and signed tree head.

Path Parameters

iduuidrequired

Attestation ID

Responses

{
  "attestation": {
    "id": "660e8400-e29b-41d4-a716-446655440001",
    "issuer_id": "550e8400-e29b-41d4-a716-446655440000",
    "kid": "ed-key-1",
    "status": "VALID",
    "payload": {
      "subject": "user:12345",
      "claim": "verified_email",
      "value": "user@example.com"
    },
    "signature": "MEUCIQDf7KxF5bXmz...",
    "log_index": 42,
    "created_at": "2026-01-13T12:00:00Z"
  },
  "issuer": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme University",
    "domain": "acme.edu",
    "trust_level": "VERIFIED"
  },
  "key": {
    "kid": "ed-key-1",
    "algorithm": "Ed25519",
    "public_key": "MCowBQYDK2VwAyEA..."
  },
  "inclusion_proof": {
    "log_index": 42,
    "root_hash": "sha256:abc123...",
    "hashes": [
      "hash1",
      "hash2",
      "hash3"
    ]
  },
  "signed_tree_head": {
    "tree_size": 1000,
    "root_hash": "sha256:abc123...",
    "signature": "MEQCIFxhQ7..."
  }
}
GET/v1/attestations/{id}/proof-bundle
Language
CredentialsHEADER
Authorization
cURL Request
Examples ▾
curl --request GET \
  --url https://sandbox-api.truthlocks.com/v1/attestations/{id}/proof-bundle \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{}'
Response

Click Try It! to send a real request, or view sample responses: