The FloKit v1 REST API is in design-partner preview — endpoints and schemas may change before general availability. Contact your FloKit team for access.
Reports are updated every 6 hours. For real-time event inspection, use the Data → Events view in the FloKit dashboard.
GET /v1/reports/payback
Returns payback report data for a given date range, grouped by the dimension of your choice.Query parameters
string
required
Start of the cohort window. Format:
YYYY-MM-DD.string
required
End of the cohort window. Format:
YYYY-MM-DD.string
Dimension to group results by. Options:
campaign, creative, country, offer, paywall. Default: campaign.integer
Number of days to use for the payback window. Default:
30.Example
Response
payback_days is null when the cohort has not yet reached payback within the observation window.
GET /v1/reports/cohorts
Returns cohort retention curves and LTV progression by week.Query parameters
string
required
Start date for cohort selection. Format:
YYYY-MM-DD.string
required
End date for cohort selection. Format:
YYYY-MM-DD.string
Dimension to group cohorts by. Options:
campaign, creative, country, offer, paywall. Default: campaign.