NFT Templates
Get All Templates
Get all of the templates for a collection
API scope required: nfts.read
GET
/
2022-06-09
/
collections
/
{collectionId}
/
templates
Authorizations
X-API-KEY
string
headerrequiredObtained in the Crossmint developer console
Path Parameters
collectionId
string
requiredThis 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
Query Parameters
page
number
requiredThe page number you want to query, starting at 1
perPage
number
How many items you want to be returned in the page.
Response
200 - application/json
templateId
string
metadata
object
onChain
object
supply
object