Developer Documentation
Integrate document issuance, verification, and Ananke TCode workflows into your product.
Ananke Labs provides REST APIs and a TypeScript SDK for issuing cryptographically anchored credentials, stamping PDFs with verifiable DataMatrix barcodes, and building public verification experiences. Everything you need to add trust to your documents.
Choose your product
Ananke Labs has two core products. Pick the one that fits your use case, or use both together.
Ananke Trust
Issue verifiable digital credentials — certificates, diplomas, contracts, licenses. Each document is cryptographically signed and anchored for tamper-proof verification.
- • Template-based issuance
- • Lifecycle management (suspend, revoke, reinstate)
- • Public and authenticated verification
- • Bulk issuance via CSV
Ananke TCode
Stamp PDFs with DataMatrix barcodes that encode document metadata and a cryptographic signature. Scanners can verify the document offline or online.
- • PDF stamping with DataMatrix barcode
- • Configurable placement and rendering
- • Scan-based verification (mobile & desktop)
- • Bulk stamping via CSV + ZIP
Your first integration
Three steps to a working integration.
Authenticate
Get an API key from the Console. Pass it in the x-api-key header on every request.
Make your first request
Call the API to issue a document or stamp a PDF. Use the SDK or raw HTTP.
Verify the result
Use the verification endpoint to confirm the document's integrity and status.
import { AnankeClient } from "@ananke/sdk";
const client = new AnankeClient({
baseUrl: "http://localhost:5300",
apiKey: process.env.ANANKE_API_KEY!,
});
// Issue an Ananke Trust document
const doc = await client.trust.documents.issue({
templateId: "tmpl-uuid",
recipientName: "Jane Doe",
recipientEmail: "jane@example.com",
fields: [{ key: "certNumber", value: "C-2026-001" }],
});
console.log(doc.reference); // "TRF-..."
console.log(doc.status); // "Active"Popular workflows
Task-focused guides for common integrations.
Guides
Step-by-step tutorials for common integration tasks. Start with real code examples.
API Reference
Complete endpoint documentation with request/response schemas, error codes, and rate limits.
TypeScript SDK
Install @ananke/sdk and start building with typed methods for Ananke Trust and Ananke TCode.
v1
API Key (x-api-key header)
api.anankelabs.net/v1