Create New NFT

The API allows you to create a new NFT


REST


Headers

FieldsTypeDescriptionExampleData Management
URLstring{base_url}/creators/create-new-nft
METHODstringPOST
content-typestringJSONapplication/json
x-access-tokenstringsession token with validitytokencreator token

Request

{
    "type_id": "6253ec74fb9f6b511cf05fbf",
    "file": "base64img"
}

contains more fields based on the NFT type


Request Parameters

FieldsTypeDescriptionRequired
type_idstring_id of the NFT type
filestringimg file in base64 format

Success

{ "message": "NFT created", "_id": "624fc253521415614f508933" }

Error

{
    "message": "unauthorized"
}