DID Management

Generate DID documents

post

Generates new DID documents for the specified methods.

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Body
methodsstring[]Required

DID method which will be used for generate DID documents

Example: ["empe","empe-testnet","web"]
Responses
post
/did/generate

Import DID documents from mnemonics

post

Restores/creates DID documents for the specified methods using a mnemonic phrase.

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Body
methodsstring[]Required

DID method which will be used for generate DID documents

Example: ["empe","empe-testnet","web"]
mnemonicsstringRequired

Mnemonic phrase used to restore the DID(s).

Example: abandon ability able about above absent absorb abstract absurd abuse access accident
Responses
post
/did/import

Retrieve a DID document by method

get

Fetches the existing DID document for the specified method. For EMPE_TESTNET, the underlying network must be TESTNET.

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Path parameters
methodstring · enumRequired

The DID method to resolve.

Possible values:
Responses
200

The DID document has been successfully retrieved.

application/json
get
/dids/{method}

Retrieve all DID documents for authenticated user

get

Fetches all DID documents from all networks

Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Responses
200

The DID documents have been successfully retrieved

application/json
get
/dids
200

The DID documents have been successfully retrieved

Serve did:web did.json for a given user

get
Authorizations
AuthorizationstringRequired

One-Click access token (Authorization: Bearer )

Path parameters
idstringRequired

User id

Responses
200Success

No content

get
/did/user/{id}/did.json
200Success

No content

Last updated