files

Create a file download link

Changed on

Return a short-lived link that downloads the file. The link supports range requests.

Required permission: files.view.

post/v1/projects/{project_id}/files/{environment_id}/download-link

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Request body

FilePathRequest required
path, string required

File path such as invoices/2026/acme.pdf.

Response

Successful Response

FileDownloadLinkResponse required
url, string required
expires_at, string required
file, object required

Changes