DIDs

Endpoints for managing Decentralized Identifiers (DIDs)

Create a new DID

post

This endpoint creates a new Decentralized Identifier (DID) using the provided API key.

Authorizations
Responses
200
DID created successfully
application/json
post
POST /api/v1/create-did HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Accept: */*
{
  "did": {
    "did": "95LAyQitNh5kVaayCFC9S2",
    "verkey": "5QFrR2F9H84nF1T6bBiiahWCiDWrxTnHNtF78u7HPCY4",
    "posture": "wallet_only",
    "key_type": "ed25519",
    "method": "sov",
    "metadata": {}
  }
}

Set a public DID

post

This endpoint sets a public Decentralized Identifier (DID) using the provided API key and DID.

Authorizations
Query parameters
DIDstringRequired

The DID to be set as public.

Responses
200
DID set as public successfully
application/json
post
POST /api/v1/set-public-did?DID=text HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Accept: */*
{}

Create a new did:indy DID

post

This endpoint creates a new Decentralized Identifier (DID) using the provided API key.

Authorizations
Responses
200
DID created successfully
application/json
post
POST /api/v1/did/indy HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Accept: */*
{
  "did": "text"
}

Was this helpful?