Upload a File
Uploads
Upload a File
org:files:write
POST
Upload a File
Documentation Index
Fetch the complete documentation index at: https://docs.pinata.cloud/llms.txt
Use this file to discover all available pages before exploring further.
The V3 Upload endpoint currently does not support folder uploads. Please use the legacy pinFileToIPFS endpoint
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Determine if the file should be uploaded to either the public or private IPFS network. If not designated it will default to private.
Available options:
public, private File object you want to upload
Add a custom name for the file
ID of the group you would like to upload
Add additional key value metadata to files upon upload
Upload a file as a raw CAR file (only supported for public network)
Response
200 - application/json
Successful response