Analytics

Endpoint for retrieving analytical data on checklist and task activity over a specified period.

note

This endpoint requires API version 2.0.


Get Analytics

Returns an overview of all checklist and task activity within a specified date range.

GET /api/analytics/all

Request Headers

HeaderRequiredDescription
X-API-KEYYesYour API key
X-API-VERSIONYesMust be 2.0

Query Parameters

ParameterTypeRequiredDefaultDescription
periodStartDatestringYesThe start of the reporting period. Format: YYYY-MM-DD.
periodEndDatestringNoCurrent dateThe end of the reporting period. Format: YYYY-MM-DD. If omitted, defaults to today.

Example Requests

GET https://app.checkflow.io/api/analytics/all?periodStartDate=2024-01-01&periodEndDate=2024-01-31
X-API-KEY: your-api-key-here
X-API-VERSION: 2.0
GET https://app.checkflow.io/api/analytics/all?periodStartDate=2024-01-01
X-API-KEY: your-api-key-here
X-API-VERSION: 2.0

Response Codes

CodeDescription
200Returns the analytical data for the specified period.
400periodStartDate is missing or periodStartDate is later than periodEndDate.
401API key is missing or invalid.