Storage

Generate a signed download URL for a file

Returns a 15-minute signed URL that forces a browser download via Content-Disposition: attachment. The signed URL is self-contained and requires no additional authentication to access. Use the filename query parameter to override the name shown to the user during download.

get/api/storage/{project_id}/download

Request

  • Base URL
    https://core.blink.new
  • URL
    https://core.blink.new/api/storage/{project_id}/download
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:my-project-123

Unique identifier for the project

Query parameters

pathstring required
Example:uploads/my-document.pdf

Relative path to the file within the project bucket

filenamestring
Example:My Document.pdf

Override the download filename shown to the user. Defaults to the file's basename.

Response

Signed download URL generated successfully

errorunknown

Example response

{
  "data": {
    "filename": "my-document.pdf",
    "contentType": "application/pdf",
    "size": 204800
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.