Skip to main content
GET
/
reports
/
user-growth
Get user growth analysis
curl --request GET \
  --url https://api.sprucecollective.co.uk/reports/user-growth \
  --header 'Authorization: <api-key>'
{
  "daily_data": [
    {
      "cumulative_users": 123,
      "date": "<string>",
      "growth_rate": 123,
      "new_users": 123,
      "rolling_avg_7d": 123
    }
  ],
  "summary": {
    "average_daily_growth": 123,
    "end_date_users": 123,
    "peak_day": {
      "date": "<string>",
      "new_users": 123
    },
    "start_date_users": 123,
    "total_cumulative_users": 123,
    "total_new_users": 123,
    "trend_percentage": 123
  }
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Query Parameters

start
string

Start date (YYYY-MM-DD)

end
string

End date (YYYY-MM-DD)

days
integer

Last X days (default: 30)

site_id
string

Site ID for multi-tenant filtering

Response

200 - application/json

OK

daily_data
object[]
summary
object