Prerequisites: You need a Truthlocks account and API key. Sign up at
console.truthlocks.com if you haven’t
already.
Get Your API Key
Navigate to the API Keys section in your console dashboard. Create a new API key with the following scopes:
issuers:read- View your issuersissuers:write- Create and manage issuersattestations:mint- Create new attestations
Create an Issuer
Issuers are entities that can sign attestations. Each issuer has a unique identity, cryptographic keys, and a trust status. Create your first issuer:
Request
Response (201 Created)
Note: New issuers are activated immediately upon creation. You can start minting attestations right away without waiting for manual approval. If your organization needs a higher trust tier, you can submit an issuer application for review.
Register a Signing Key
Every issuer needs at least one signing key (Ed25519 recommended; ES256, ES384, RS256, PS256 also supported). You can generate keys locally or use our SDK to create them.
Generate a Key Pair (Node.js)
Register the Public Key
Mint an Attestation
Now you can create your first attestation. This example issues a verified email claim for a user:Congratulations! You’ve just issued a cryptographically signed attestation. The
Request
Response (201 Created)
log_index is its position in the transparency log, providing proof of when it was created.Understanding Verdicts
The verification endpoint returns one of five verdicts:| Verdict | Valid | Meaning |
|---|---|---|
VALID | ✅ true | Signature valid, issuer trusted, not revoked or superseded |
REVOKED | ❌ false | Was valid but has been revoked by issuer |
SUPERSEDED | ❌ false | Was valid but has been superseded by a newer version |
ALTERED | ❌ false | Payload doesn’t match signature (tampering detected) |
UNKNOWN | ❌ false | Attestation ID not found in system |
Next Steps
Core Concepts
Deep dive into tenants, issuers, trust levels, and the governance model.
SDK Examples
Production-ready code patterns in JavaScript, Go, Python and more.
Authentication
Learn about API keys, JWT tokens, and security best practices.
Risk Signals
Ingest fraud-detection signals and normalize identity events into your risk pipeline.
Integrations
Connect MAIP to Slack, GitHub, VS Code, AI frameworks, and more.

