Prerequisites: You need a Truthlocks account and API key. Sign up at
console.truthlocks.com if you haven’t
already.
1
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
2
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.
3
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
4
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.5
Verify the Attestation
Anyone can verify your attestation using its ID. The verification endpoint is public and requires no authentication:
Request
Response (200 OK - Valid)
Understanding Verdicts
The verification endpoint returns one of five verdicts: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.

