Collections

Public endpoints for all collections of NFTs.



List   GET   /v2/api/collections/list  

List all collections.


curl --location --request GET 'https://admin-api.curios.com/collections/list' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 


Load   GET   /v2/api/collections/load  

Load collection details.


curl --location --request GET 'https://admin-api.curios.com/collections/load' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 


Create   POST   /v2/api/collections/create  

Create a new collection.


Body
Argument Value Required Description
title {title} Yes Title of your collection
subtitle {subtitle} No Subtitle of your collection
description {description} No Description of your collection
keywords {keywords} No Keywords for aiding in search, these values are hidden
publish {true/false} No Publish if you want this to be available in listings, search, etc
contract_id {smart contract id} Yes Hash ID of the smart contract this collection of tokens will be minted through
curl --location --request POST 'https://admin-api.curios.com/collections/create' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 
--data-raw '{
  "title": "{title}", 
  "subtitle": "{subtitle}", 
  "description": "{description}", 
  "keywords": "{keywords}", 
  "publish": {true/false}, 
  "contract_id": {smart contract id}
}'


Update   POST   /v2/api/collections/update  

Updates a given collection.


Body
Argument Value Required Description
title {title} No Title of your collection
subtitle {subtitle} No Subtitle of your collection
description {description} No Description of your collection
keywords {keywords} No Keywords for aiding in search, these values are hidden
publish {true/false} No Publish if you want this to be available in listings, search, etc
curl --location --request POST 'https://admin-api.curios.com/collections/update' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 
--data-raw '{
  "title": "{title}", 
  "subtitle": "{subtitle}", 
  "description": "{description}", 
  "keywords": "{keywords}", 
  "publish": {true/false}
}'


Mint   POST   /v2/api/collections/mint  

Mint a token from this collection via the underlying smart contract.


curl --location --request POST 'https://admin-api.curios.com/collections/mint' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \