cURL
curl --request PUT \ --url https://staging.crossmint.com/api/v1/ip/collections/{collectionId} \ --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" } }
Create a new collection with a pre-computed id, or get an existing one if the id already exists
API scope required: collections.create
collections.create
Show child attributes
Was this page helpful?