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
header
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.
companyId*stringFormat
uuidfileId*stringFormat
uuidSigned download URL (15 min expiry)
application/json- response
url*stringcurl -X GET 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/download'Example Response
{ "url": "string"}Upload
Upload a receipt or invoice. The document goes in fileBase64 as base64, capped at 10 MB by decoded byte length (size is accepted for compatibility and the…
List background tasks
List background tasks for a company. Long-running work such as bank syncs, imports, and bulk edits runs asynchronously and reports progress here.