API Reference

Introduction

Welcome to the denithizgdh API documentation. This interface provides programmatic access to our decentralized identity verification and zero-knowledge proof generation systems.

Core Features

Decentralized Identities

Create and manage self-sovereign identities across multiple blockchain networks.

ZK Proofs

Generate and verify zero-knowledge proofs for privacy-preserving transactions.

Endpoints

POST /api/v1/identity/create

Create Decentralized Identity

Generates a new self-sovereign identity with private keys and DID document.

Request POST /api/v1/identity/create HTTP/1.1
Content-Type: application/json
{}
Response HTTP/1.1 201 Created
Content-Type: application/json
{ "did": "did:den:abc123...", "keyId": "sec-k123456789", "createdAt": "2025-09-19T12:34:56Z" }

POST /api/v1/proof/verify

Verify ZK Proof

Verifies a zero-knowledge proof against a public constraint.

Request POST /api/v1/proof/verify HTTP/1.1
Content-Type: application/json
{ "proof": "0x123...", "publicInputs": "0xabcd..." }
Response HTTP/1.1 200 OK
Content-Type: application/json
{ "valid": true, "message": "Proof verified successfully" }

Authentication

API Key Authentication

All requests must include an API key in the Authorization header.

Header:
Authorization: Bearer YOUR_API_KEY
How to get key:
Generate key in Dashboard

Error Codes

Code Description
401 Missing or invalid API key
400 Invalid request payload format
500 Internal server error

Try It Out

Generate Identity