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…
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
Length
1 <= lengthfileId*string
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://example.com/companies/string/files/string/download"{ "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.