Create a new collection with a pre-computed id, or get an existing one if the id already exists
API scope required: collections.create
curl --request POST \
--url https://staging.crossmint.com/api/v1/ip/collections \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <x-api-key>' \
--data '{
"reuploadLinkedFiles": true,
"metadata": {
"name": "My Collection",
"symbol": "MYCOL",
"description": "My Collection Description",
"image": "https://example.com/image.png"
},
"chain": "story-testnet"
}'
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"actionId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"metadata": {
"name": "My Collection",
"symbol": "MYCOL",
"description": "My Collection Description",
"image": "https://example.com/image.png"
},
"onChain": {
"chain": "story-testnet",
"contractAddress": "0x123"
}
}
API key required for authentication
Story Protocol collection creation input
Collection created
Story Protocol collection creation output
Was this page helpful?
curl --request POST \
--url https://staging.crossmint.com/api/v1/ip/collections \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <x-api-key>' \
--data '{
"reuploadLinkedFiles": true,
"metadata": {
"name": "My Collection",
"symbol": "MYCOL",
"description": "My Collection Description",
"image": "https://example.com/image.png"
},
"chain": "story-testnet"
}'
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"actionId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"metadata": {
"name": "My Collection",
"symbol": "MYCOL",
"description": "My Collection Description",
"image": "https://example.com/image.png"
},
"onChain": {
"chain": "story-testnet",
"contractAddress": "0x123"
}
}