Verifiable 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

chain'polygon' | 'optimism' | 'base' | 'etc...' required

The chain to mint the nft on. All crossmint supported EVM chains are compatible.

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."

Changes

No recorded changes to this endpoint across all 1 revision of this API.