Skip to content
Building with Underdog Protocol🐶

icon picker
Code Snippets

You can interact with our API and do this using our docs below

Common Code Snippets

Creating Compressed Project (Collection)

url --request POST \ --url \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "transferable": false, "compressed": true, "image": "", "name": "The Good Life", "symbol": "GLIFE", "description": "I minted this NFT with the Underdog API" } '

Mint NFT into Project (Collection)

Value must be 't' for transferable, 'n' for non-transferable, or 'c' for compressed
curl --request POST \ --url \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "upsert": false, "name": "Good Life ", "description": "the good life", "image": "" } '

Update NFT in Project

curl --request PUT \ --url \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "image": "" } '
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
) instead.