This API is used to generate and decentralized identity documents for all entities that are stored in a registry.
These documents contain the ID of the entity they describe, as well as the assertion or verification methods used by the entity to sign and verify credentials or presentations (respectively) generated or issued by them.
An example document is given below:
To create such a document, an entity must provide an external identifier (such as their email address or phone number) to the Identity API, which will then return a DID document similar to the one above.
Once you receive the document, you must store it securely - you will need it to issue/sign credentials or presentations - and also store it (without the private key fields) in a registry, so that others can verify credentials or presentations signed with your public key.