SaaSFlow
DevelopersAPIReferencereports

List reports

List a company's performance reports, newest first. The rendered document is left out here to keep the list light, so read a single report to get it.

Authentication

Checking whether you're signed in…
GET
/companies/{companyId}/reports

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
Length1 <= length

Response Body

The company reports, newest first, without the document payload.

application/json
  1. response
[index: integer]?
curl -X GET 'https://api.saasflow.com/companies/string/reports'
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",    "definitionId": "string",    "reportMonth": "string",    "status": "generating",    "runId": "78c33d18-170c-44d3-a227-b3194f134f73",    "title": "string",    "summary": "string",    "error": "string",    "createdTime": "2019-08-24T14:15:22Z",    "createdUserId": "string",    "lastUpdatedTime": "2019-08-24T14:15:22Z",    "lastUpdatedUserId": "string"  }]