Skip to Content
SaaSFlow
DevelopersAPIReferencefiles

Download

Get a signed URL for downloading the stored document. The URL expires after 15 minutes and carries its own access, so treat it as a secret and fetch it…

Authentication

Checking whether you're signed in…
GET
/companies/{companyId}/files/{fileId}/download

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Formatuuid
fileId*string
Formatuuid

Response Body

Signed download URL (15 min expiry)

application/json
  1. response
url*string
Example Request
curl -X GET 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/download'
Example Response
{  "url": "string"}