Skip to main content
GET
/
analytics
/
subscriptions
/
churn
Get subscription churn analysis
curl --request GET \
  --url https://api.sprucecollective.co.uk/analytics/subscriptions/churn \
  --header 'Authorization: <api-key>'
{}

Authorizations

Authorization
string
header
required

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

Query Parameters

days
integer

Number of days to analyze (default: 90)

start
string

Start date (YYYY-MM-DD)

end
string

End date (YYYY-MM-DD)

site_id
string

Site ID for multi-tenant filtering

Response

200 - application/json

OK

The response is of type object.