v1
latestOpenAPI 3.0.12026-07-2699111970.1 KBVerifiable Credentials
Create Credential template
Create a template, similar to an NFT collection, for issuing verifiable credentials.
API scope required credentials:template.create
post/v1-alpha1/credentials/templates/
Request body
Example request
{
"metadata": {
"name": "Verifiable Credential",
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
"description": "The owner of this credential is authorized."
},
"credentials": {
"type": "crossmint:5fe6040e-07a1-48bb-97a3-b588a7e927d2:CourseCompletionCertificate",
"delegatedStorageEndpoint": "unknown",
"delegatedSignature": {
"did": "did:polygon:0x123456789",
"endpoint": "https://issuer.com/sign",
"token": "abcd"
}
}
}Response
Success. Refer to the standard create collection response for more details.
string required
Example response
"Success. Refer to the standard nft create collection response for more details."