POST
/
files
/
sign
curl --request POST \
  --url https://uploads.pinata.cloud/v3/files/sign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "date": 123,
  "expires": 123,
  "max_file_size": 123,
  "allow_mime_types": [
    "<string>"
  ],
  "group_id": "<string>",
  "keyvalues": {},
  "filename": "<string>"
}'
{
  "data": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json
Successful response

The response is of type object.