cURL
curl --request GET \ --url https://api.engagefabric.com/api/v1/analytics/retention
{ "cohortType": "WEEKLY", "cohorts": [ { "cohortId": "<string>", "cohortLabel": "Week 1 (Jan 6-12)", "playerCount": 123, "retention": { "day1": 123, "day7": 123, "day14": 123, "day30": 123, "day60": 123, "day90": 123 }, "engagement": { "avgXp": 123, "avgLevel": 123, "avgQuestsCompleted": 123 } } ], "averages": { "day1": 123, "day7": 123, "day14": 123, "day30": 123 } }
Returns retention curves and cohort comparison data for player retention analysis.
Project ID to get retention data for
"550e8400-e29b-41d4-a716-446655440000"
Cohort type for grouping
WEEKLY
MONTHLY
CUSTOM
Retention data with cohort breakdown
Type of cohort grouping
Show child attributes