Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.hyperauth.dev/llms.txt

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

Resolves a WebAuthn credential ID to a registered on-chain DID. Queries the global SESSION_DB D1 database directly — does not route to a Durable Object.

Query parameters

ParameterTypeRequiredDescription
credentialIdstringYesWebAuthn credential ID

Response — found

{
  "found": true,
  "identifier": "alice",
  "channel": "handle",
  "did": "did:new:0x...",
  "txHash": "0x...",
  "blockNumber": 12345678,
  "smartAccount": "0x...",
  "createdAt": "2024-01-01T00:00:00Z"
}

Response — not found

{ "found": false }

Errors

CodeerrorCondition
400"Missing query parameter: credentialId"Parameter absent