Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rootkey.ai/llms.txt

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

Overview

The ROOTKey REST API is the default integration model and the fastest path from zero to production. It exposes a JSON API over HTTPS with API key authentication and consistent error schemas, available across dedicated development and production endpoints. No infrastructure setup is required on the client side. Authentication, protocol routing, and blockchain anchoring are handled by ROOTKey’s cloud infrastructure. This model is appropriate for any team building web-native, cloud-native, or service-oriented architectures - and for organisations that want to validate ROOTKey capabilities quickly before committing to a more embedded deployment.

Architecture Overview

All API calls are authenticated using an x-api-key header. Development and production use separate base URLs and separate API keys. See Environments for details.

Integration Characteristics

PropertyValue
ProtocolREST over HTTPS (TLS 1.2+)
Data formatJSON
AuthenticationAPI Key (x-api-key header)
Development URLhttps://dev-api.rootkey.ai
Production URLhttps://api.rootkey.ai
VersioningHeader-based

Typical Use Cases

SaaS Platform Integration

Embed ROOTKey data integrity capabilities directly into a SaaS product - attach proof-of-existence to user-generated content, contracts, or records at creation time.

Backend Microservices

Add tamper-evident logging or validation to individual services within a distributed architecture without additional infrastructure.

Web Application Backends

Validate and anchor documents, forms, or records submitted through web applications - with an audit trail that outlasts the application itself.

Automated Compliance Workflows

Integrate ROOTKey into CI/CD pipelines, data processing jobs, or scheduled compliance tasks - anchoring artefacts at every stage.

Integration Considerations

Authentication and key management API keys should be stored as environment secrets and rotated regularly. Development and production keys are distinct and tied to their respective base URLs - never use a development key against the production endpoint, or vice versa. Rate limiting API calls are subject to rate limits determined by the active subscription plan. Exceeding limits results in 429 Too Many Requests responses. See Pricing for plan-specific limits. Error handling The API returns structured error responses with machine-readable codes. Implement retry logic with exponential backoff for transient failures (5xx). See Error Reference for the full error schema. Idempotency Operations that anchor data to the blockchain are not inherently idempotent - duplicate submissions result in separate on-chain records. Client-side deduplication should be implemented where appropriate. Webhook support Asynchronous operations (e.g. blockchain anchoring in RKP-2 and RKP-3) emit webhook events when complete. Configure webhook endpoints in the ROOTKey dashboard to receive real-time status notifications.

Getting Started

1

Create a ROOTKey account

Sign up at app.rootkey.ai and create your first workspace.
2

Generate an API key

From the dashboard, generate a sandbox API key to begin testing. See API Keys for step-by-step instructions.
3

Make your first API call

Follow the Quickstart guide to create a vault and anchor your first record against https://dev-api.rootkey.ai.
4

Switch to production

Generate a production API key, update your base URL to https://api.rootkey.ai, and update the key in your environment configuration.

Start for free

Access sandbox and production environments immediately. No commitment required.

View API Reference

Full endpoint documentation, request schemas, and response examples.