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
  • URL: https://api.connic.co/v1/projects/{project_id}/files/{environment_id}/download-link
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Request body

pathstring required

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

Response

Successful Response

urlstring required
expires_atstring required
fileobject required

Changes