NFT Collections
Create Collection
API Reference
Wallets
- POSTCreate Wallet
- GETGet Wallet By Locator
- GETGet Wallet Balance
- POSTFund Wallet
- GETGet NFTs from Wallet
- POSTCreate Transaction
- GETGet Transaction
- GETGet Wallet Transactions
- POSTApprove Transaction
- POSTCreate Signature
- GETGet All Signatures
- GETGet Signature
- POSTApprove Signature
- POSTRegister Delegated Signer
- GETGet Delegated Signer
NFTs
IP
NFT Collections
NFT Templates
Verifiable Credentials
Verifiable Credential Types
Headless Checkout
Action Status
Admin
NFT Collections
Create Collection
Create a collection that you can mint NFTs/SFTs from
API scope required: collections.create
POST
/
2022-06-09
/
collections
curl --request POST \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"chain": "polygon",
"metadata": {
"name": "Sample NFT Collection",
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
"description": "This is a sample NFT collection",
"symbol": "TOKEN"
},
"fungibility": "non-fungible",
"transferable": true,
"supplyLimit": 123,
"payments": {
"price": "<string>",
"recipientAddress": "<string>",
"currency": "<string>"
},
"subscription": {
"enabled": false
},
"reuploadLinkedFiles": true
}'
{
"id": "5263650e-6d43-4ed3-9e31-0cf593d076a4",
"metadata": {
"name": "Sample NFT Collection",
"description": "This is a sample NFT collection",
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
"symbol": "TOKEN"
},
"fungibility": "non-fungible",
"onChain": {
"chain": "polygon",
"type": "erc-721"
},
"actionId": "5263650e-6d43-4ed3-9e31-0cf593d076a4",
"subscription": {
"enabled": true
}
}
Authorizations
Obtained in the Crossmint developer console
Body
application/json
Response
200
application/json
Success.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"chain": "polygon",
"metadata": {
"name": "Sample NFT Collection",
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
"description": "This is a sample NFT collection",
"symbol": "TOKEN"
},
"fungibility": "non-fungible",
"transferable": true,
"supplyLimit": 123,
"payments": {
"price": "<string>",
"recipientAddress": "<string>",
"currency": "<string>"
},
"subscription": {
"enabled": false
},
"reuploadLinkedFiles": true
}'
{
"id": "5263650e-6d43-4ed3-9e31-0cf593d076a4",
"metadata": {
"name": "Sample NFT Collection",
"description": "This is a sample NFT collection",
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
"symbol": "TOKEN"
},
"fungibility": "non-fungible",
"onChain": {
"chain": "polygon",
"type": "erc-721"
},
"actionId": "5263650e-6d43-4ed3-9e31-0cf593d076a4",
"subscription": {
"enabled": true
}
}