DIDs
Endpoints for managing Decentralized Identifiers (DIDs)
This endpoint creates a new Decentralized Identifier (DID) using the provided API key.
Authorizations
Responses
200
DID created successfully
application/json
401
Unauthorized.
500
Internal Server Error
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": {}
}
}
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
400
Bad Request
application/json
401
Unauthorized.
500
Internal Server Error
application/json
post
POST /api/v1/set-public-did?DID=text HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
{}
This endpoint creates a new Decentralized Identifier (DID) using the provided API key.
Authorizations
Responses
200
DID created successfully
application/json
401
Unauthorized.
412
The TAA must be signed before calling this endpoint
application/json
500
Internal Server Error
application/json
post
POST /api/v1/did/indy HTTP/1.1
Host:
x-api-key: YOUR_API_KEY
Accept: */*
{
"did": "text"
}
Was this helpful?