Skip to main content
POST
/
v1
/
files
Upload multiple files (v1)
curl --request POST \
  --url https://pinapi.jackalprotocol.com/api/v1/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
[
  {
    "name": "<string>",
    "cid": "<string>",
    "merkle": "<string>",
    "id": 123
  }
]

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
files
file[]
required

Response

Successful operation

name
string
cid
string
merkle
string
id
integer
I