Skip to main content
GET
/
v1
/
attestations
/
{id}
/
proof-bundle
Get Proof Bundle
curl --request GET \
  --url https://api.truthlocks.com/v1/attestations/{id}/proof-bundle \
  --header 'X-API-Key: <api-key>'
{
  "attestation": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "issuer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "kid": "<string>",
    "status": "VALID",
    "payload": {},
    "signature": "<string>",
    "log_index": 123,
    "created_at": "2023-11-07T05:31:56Z"
  },
  "issuer": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "domain": "<string>",
    "status": "PENDING",
    "trust_level": "BASIC",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "key": {
    "kid": "<string>",
    "issuer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "algorithm": "Ed25519",
    "public_key": "<string>",
    "status": "ACTIVE",
    "not_before": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z"
  },
  "inclusion_proof": {
    "log_index": 123,
    "root_hash": "<string>",
    "hashes": [
      "<string>"
    ]
  },
  "signed_tree_head": {
    "tree_size": 123,
    "root_hash": "<string>",
    "signature": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Parameters

id
uuid
required
Attestation ID

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string<uuid>
required

Response

Proof bundle

attestation
object
issuer
object
key
object
inclusion_proof
object
signed_tree_head
object