POST
/
files

The V3 Upload endpoint currently does not support folder uploads. Please use the legacy pinFileToIPFS endpoint

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required

File object you want to upload

group_id
string

ID of the group you would like to upload

keyvalues
object

Add additional key value metadata to files upon upload

name
string

Add a custom name for the file

network
enum<string>
default:
private

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

Response

200 - application/json
data
object