POST
/
pinning
/
pinFileToIPFS

Guides

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
pinataMetadata
object

Optional stringified object

pinataOptions
object

Optional stringified object

Response

200 - application/json
IpfsHash
string
PinSize
integer
Timestamp
string
isDuplicate
boolean