---
title: "Create Download Link"
method: POST
path: "/files/private/download_link"
tags: ["Private Files"]
---

# Create Download Link

`POST /files/private/download_link`

`org:files:write`

## Request body

- object
  - `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`

OK

- object
  - `data` string — The signed URL

---

[API](https://skmtc.net/pinata/apis/pinata-v3-api.md) · [All operations](https://skmtc.net/pinata/apis/pinata-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinata/pinata-v3-api/versions/734684efd9c4/schema)
