POST
/
unstable
/
collections
/
curl --request POST \
  --url https://staging.crossmint.com/api/unstable/collections/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "chain": "polygon",
  "credentials": {
    "delegatedIssuer": "undefined",
    "delegatedStorageEndpoint": "undefined",
    "encryption": true,
    "storage": "crossmint(default) | decentralized | delegated",
    "type": "degreeForMastersStudent"
  },
  "metadata": {
    "description": "The owner of this credential is authorized.",
    "name": "Verifiable Credential"
  }
}'
"Success. Refer to the standard nft create collection response for more details."

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Body

application/json
chain
enum<string>
required

The chain to mint the nft on

Available options:
polygon
credentials
object
required

Credentials parameters

metadata
object
required

Response

200 - application/json

The response is of type string.