Signatory API - For Issuers
Signatory REST API functions.
Last updated
Was this helpful?
Signatory REST API functions.
Last updated
Was this helpful?
|
The Signatory API exposes the "issuance" endpoint, which provides flexible integration possibilities for anyone intending to act as an "Issuer" (i.e. create, sign and issue Verifiable Credentials), as follows:
- issue credentials
- create and mange credential templates
- revocation related functions
If you're new to VCs, check out the for an overview.
The /v1/credentials/issue
endpoint issues a specified credential.
E.g. Issue a UniversityDegree
credential in the default JSON-LD format. In case you don't have the DID for the Issuer and or the Holder, you can create one .
The currently available template functions are:
The /v1/templates
endpoint returns the list of the available template id
s
E.g. List the templates
The /v1/templates/{id}
endpoint to import your custom credential template
id path parameter (required) - id
of the template, e.g. MyCustomCredential
The /v1/templates/{id}
endpoint displays the content of the template having the parameters:
id path parameter (required) - id
of the template
E.g. Load the template for the id
set to UniversityDegree.
Check out the section to learn about how to issue a verifiable credential with a credentialStatus property.
- display the list of Templates
- import a custom template
- display the content of the template having the specified id
Refer to section for more details on verifiable credential revocations.