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

Authorization<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.

In: header

Path Parameters

companyId*string
Length1 <= length
fileId*string
Length1 <= length

Response Body

application/json

application/json

curl -X GET "https://example.com/companies/string/files/string/download"
{  "url": "string"}