Pinning
Pin File to IPFS
Upload a file to Pinata to be pinned to IPFS
POST
/
pinning
/
pinFileToIPFS
Uploading files via the API playground is not supported at this time but will be soon!
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
file
string
requiredpinataMetadata
object
Optional stringified object
pinataOptions
object
Optional stringified object
Response
200 - application/json
IpfsHash
string
PinSize
integer
Timestamp
string
isDuplicate
boolean