Skip to main content

Overview

The User Last Activity Report provides the most recent timestamps of key actions (read + write) per user. Administrators use it to:
  • Identify inactive / dormant accounts
  • Drive re‑engagement campaigns (email / push)
  • Plan archival or deletion workflows (e.g., GDPR cleanup)
  • Validate growth & retention metrics against real interaction
Requires an admin session. These endpoints are for server / internal tooling only—never expose admin credentials to clients.

When To Use

Use this report when you need a lightweight snapshot of user activity recency rather than full behavioral analytics. For richer metrics (MAU/DAU, content engagement) see the broader Analytics APIs in the API Overview.

Access & Permissions

  • Admin credentials (admin token) required in Authorization header
  • Scoped to your network / application only
  • Rate limits apply (avoid high-frequency polling—prefer scheduled exports)
  • Minimum 5,000 users required in your application to generate the report
Do not embed admin token logic in front-end code. Generate and process reports using a secure backend or internal admin tool.
User Count Requirement: Your application must have at least 5,000 users to generate the User Last Activity Report. If your application has fewer users, the report generation will not be available.

Export Flow

1

Authenticate Admin Session

Submit credentials to obtain an authenticated admin session (token-based).
2

Request Report Export

Call the report endpoint. Response will return in CSV format.
3

Process & Act

Using the CSV output to trigger re‑engagement or cleanup workflows (bulk user delete API).

API Contract (High-Level)

AspectValue
MethodGET
Path/api/v1/reports/user-last-activity
AuthAdmin token
FormatCSV
Prefer cursor-based pagination (if available) for large networks instead of increasing page size.

Request

View Full API Reference

See complete request/response schemas, parameters, and examples. This API only accepts admin token as authorization.

Interpreting Results

The report returns a CSV with the following columns:
ColumnDescription
user_idInternal user identifier
user_public_idPublic-facing user ID
display_nameUser’s display name
last_active_utcMost recent activity timestamp (UTC)

Activity Patterns

ScenarioInterpretationSuggested Action
last_active_utc is nullNewly created / never logged inOnboarding reminder
last_active_utc < 30 days agoActive userContinue regular engagement
last_active_utc 30-90 days agoAt-risk userRe-engagement campaign
last_active_utc ≥ 90 days agoDormant accountRe‑engagement or archival workflow

Automation Ideas

Export weekly, filter users with last_active_utc older than threshold, send personalized email or push, measure reactivation rate.
Flag accounts inactive > 180 days for soft archival. After notice period, proceed with deletion respecting compliance rules.
Use the CSV output directly with the Bulk User Delete API to clean up inactive accounts. The API accepts the CSV format from this report, making it seamless to process dormant users at scale while maintaining audit trails.
Detect sudden stop in activity of high‑value users—trigger internal review or outreach.

Troubleshooting

IssuePossible CauseFix
401 / UnauthorizedMissing / expired admin cookieRe-authenticate and resend request
Report not availableApplication has fewer than 5,000 usersWait until your application reaches 5,000 users minimum
Empty datasetFilters defaulting to restrictive scope (if any)Remove params / verify user activity exists
Missing columnsFeature disabled / retention policyConfirm configuration; adapt parsing
Slow exportLarge dataset without paginationUse pagination or request CSV streaming
Always log the raw HTTP status + response headers for diagnostics. Store processed data separately from raw export for reproducibility.

If you have questions, contact support at [email protected].