Set Base URI
Update the Base URI of a collection. Setting the baseURI enables excluding the metadata param when minting. Tokens minted without the metadata param will have a tokenURI of:
{BASE_URI}/{TOKEN_ID}
This API is currently only supported on EVM Chains.
API scope required: collections.update
Authorizations
Obtained in the Crossmint developer console
Path Parameters
This is the identifier for the collection related to the request. Every project has default collections: default-solana
and default-polygon
.
The create-collection API will result in collections with UUID formatted collectionId
.
Example: 9c82ef99-617f-497d-9abb-fd355291681b
The create-collection-idempotent API allows you to specify an arbitrary identifier during the intitial request.
Example: your-custom-identifer
Body
The new Base URI