Skip to main content

Two Environments, Two Endpoints

ROOTKey provides dedicated endpoints for development and production. Each environment has its own base URL and requires its own API key. Switching from development to production requires updating both.

Development Environment

The development environment is a full-featured environment for testing your integration before going live. All endpoints, request schemas, and response structures are identical to production. Base URL: https://dev-api.rootkey.ai

How it works

  1. Create an account at app.rootkey.ai
  2. Generate a development API key from the platform dashboard
  3. Send requests to https://dev-api.rootkey.ai using that key

Key characteristics

  • Full API parity with production - no endpoint or schema differences
  • No financial impact during development and QA
  • Suitable for integration testing, pre-production validation, and load testing
  • All webhook events are fired as in production

Production Environment

The production environment serves live operations. All operations are real - blockchain anchors are written to Polygon Mainnet and credits are consumed per your active plan. Base URL: https://api.rootkey.ai

How to go live

  1. Generate a production API key from the ROOTKey platform dashboard
  2. Update your base URL to https://api.rootkey.ai
  3. Update your API key to the production key

Key characteristics

  • All blockchain operations are real and permanent
  • High availability and reliability
  • Credits consumed per operation according to your plan

Environment Comparison


Summary

Use dev-api.rootkey.ai while building your integration. Switch to api.rootkey.ai when you are ready to go live - update the base URL and the API key in your environment configuration.