Skip to main content

GetDownloadURL generates a pre-signed download URL.

GET 

/api/v1/uploads/widget/files/:fileId/download-url

Creates time-limited URL for downloading a file uploaded in the current widget session.

Parameters

  • file_id: Required, file UUID

Response

  • download_url: Pre-signed download URL
  • expires_at: URL expiration time

Errors

  • NOT_FOUND: File not found
  • PERMISSION_DENIED: File not from this session
  • UNAUTHENTICATED: Invalid or expired session token

Request

Responses

A successful response.