---
title: "Create Credential template"
method: POST
path: "/v1-alpha1/credentials/templates/"
tags: ["Verifiable Credentials"]
---

# Create Credential template

`POST /v1-alpha1/credentials/templates/`

Create a template, similar to an NFT collection, for issuing verifiable credentials.

**API scope required** `credentials:template.create`

## Request body

- object
  - `metadata` object, required
    - `name` string, required — The name of your collection (Max length: 32).
    - `imageUrl` string — Direct link to your Verifiable Credential Template image.
    - `description` string, required — A brief description of credential (Max length: 64).
  - `chain` 'polygon' | 'optimism' | 'base' | 'etc...', required — The chain to mint the nft on. All crossmint supported EVM chains are compatible.
  - `credentials` object, required — Credentials parameters
    - `type` string, required — The type of credentials inside the collection.
    - `storage` 'crossmint' | 'crossmint-private' | 'decentralized-ipfs' | 'delegated', required — Where to store the credential
    - `delegatedStorageEndpoint` string — Only if storage is 'delegated', the endpoint to retrieve the credential from
    - `encryption` 'crossmint-recoverable' | 'decentralized-lit' | 'none', required — Whether to encrypt the credential, ensuring data privacy. Only the subject and issuer have the authentication to decrypt the credential.
    - `delegatedSignature` object — Issuer information, fill only if using `delegated` storage.
      - `did` string, required — The issuer's did
      - `endpoint` string, required — The issuer's endpoint to sign credentials
      - `token` string, required — Token used for auth on the issuer endpoint

## Response `200`

Success. Refer to the standard create collection response for more details.

- string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/crossmint/apis/onramp.md) · [All operations](https://skmtc.net/crossmint/apis/onramp/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crossmint/onramp/revisions/e2143d192130/schema)
