Upload a file to Pinata to be pinned to IPFS

Recipes
Mint an NFT with Pinata and Crossmint
Open Recipe

This endpoint will accept a single file or a single directory. The request must include a read stream for the payload in order for the API to accept it.

Each upload can optionally include additional information beyond just the file. Both pinataOptions and pinataMetadata can be included in the request. Their formats are documented here.

Language
Authorization
Bearer
Click Try It! to start a request and see the response here!