Files
Create Signed URL
POST
/
files
/
sign
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
url
string
The full URL of your file in the format of https://{yourgatewaydomain}.mypinata.cloud/files/{cid}
date
number
The unix timestamp that the URL is signed, ie time of request
expires
number
How long the URL is valid for in sconds after signing based on the date parameter
method
string
The URL method, ie GET
Response
200 - application/json
data
string
The signed URL