REST APIv1

API Reference

Complete reference for the Truthlock REST API. Build enterprise-grade attestation workflows — mint, verify, and manage cryptographic credentials with a single integration.

Download OpenAPI spec

Authentication

API Key
X-API-Key: tl_live_…

For server-to-server operations (minting, verification). Pass in the X-API-Key header.

Bearer Token
Authorization: Bearer eyJ…

For user-initiated operations (console, management). Pass as a standard JWT bearer token.

🔑API Key— used across all Try It panels

Authentication

Login, register, and manage your user session.

Issuers

Manage issuers and the trust registry.

Keys

Manage cryptographic keys for issuers.

Attestations

Mint, retrieve, revoke, and supersede cryptographic attestations.

Verification

Verify attestations and proof bundles.

Audit

Query the immutable audit event log.