Auth
Create API key
API keys can be issued by logging into the NFT Garden and going to the API key menu.
Authentication with API key
You can authenticate by assigning an API key to x-api-key
in the header when making an API request.
Request example
curl -X POST -H "Content-Type: application/json" -H "x-api-key: <your-api-key>" -d '{"name": "NFT Garden", "description": "NFT Garden provides NFT backend"}' https://api.nftgarden.app/api/v1/nft/
The above command is an example of specifying an API key, so it will not work properly as is.
Last updated