Skip to content

Introduction

The Veriglob API provides a comprehensive REST interface for building decentralized identity solutions using the Veriglob protocol. This documentation covers all aspects of the API, from authentication to advanced credential management.

Veriglob enables you to:

  • Create and manage DIDs: Generate did:key identifiers with Ed25519 keypairs
  • Issue Verifiable Credentials: Create PASETO v4 signed credentials with custom claims
  • Verify Credentials: Validate credential signatures and check revocation status
  • Create Presentations: Build holder-to-verifier presentations for secure credential sharing
  • Manage Wallets: Store credentials securely in encrypted wallets

All API requests should be made to:

https://api.veriglob.com

For local development: (still in beta)

https://staging.veriglob.com

All successful API responses follow this structure:

{
"status": "success",
"message": "Human readable message",
"data": {
// endpoint-specific response data
}
}

Error responses follow this structure:

{
"status": "error",
"message": "Error category",
"error": "Detailed error message"
}

The API is versioned using URL path versioning. The current version is v1:

/v1/did
/v1/credentials
/v1/presentations

The API supports both HTTP and HTTPS protocols. We strongly recommend using HTTPS in production environments.

All requests and responses use JSON format:

  • Request Content-Type: application/json
  • Response Content-Type: application/json