Skip to main content
GET
/
v0
/
user_lifecycle
Get user lifecycle stages (New / Returning / Power / Resurrected / Churned)
curl --request GET \
  --url https://api.formo.so/v0/user_lifecycle \
  --header 'Authorization: Bearer <token>'
{
  "meta": [
    {
      "name": "project_id",
      "type": "String"
    },
    {
      "name": "user_type",
      "type": "String"
    },
    {
      "name": "user_count",
      "type": "UInt64"
    }
  ],
  "data": [
    {
      "project_id": "proj_abc",
      "user_type": "New",
      "user_count": 184
    },
    {
      "project_id": "proj_abc",
      "user_type": "Returning",
      "user_count": 76
    },
    {
      "project_id": "proj_abc",
      "user_type": "Power user",
      "user_count": 23
    },
    {
      "project_id": "proj_abc",
      "user_type": "Resurrected",
      "user_count": 11
    },
    {
      "project_id": "proj_abc",
      "user_type": "Churned",
      "user_count": 142
    }
  ],
  "rows": 5,
  "rows_before_limit_at_least": 5
}
Counts wallet users in each lifecycle stage, computed against the activity window ending at date_to. Pass lifecycle_filter to return only one stage, or include_previous_period=true to also receive the prior window.

Authorizations

Authorization
string
header
required

Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.

Query Parameters

date_from
string<date>

Inclusive start date (YYYY-MM-DD). Defaults to 7 days before date_to.

date_to
string<date>

Inclusive end date (YYYY-MM-DD). Defaults to today.

lifecycle_filter
enum<string>
Available options:
New,
Returning,
Power user,
Resurrected,
Churned
include_previous_period
boolean

Return current and previous period for WoW comparison

Response

Lifecycle counts

Raw Tinybird pipe response. The data array contains the analytics rows; the exact row shape depends on the endpoint.

data
object[]
meta
object[]
rows
integer
rows_before_limit_at_least
integer
statistics
object