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 (session cookie) required
  • Scoped to your network / application only
  • Rate limits apply (avoid high-frequency polling—prefer scheduled exports)
Do not embed admin cookie logic in front-end code. Generate and process reports using a secure backend or internal admin tool.

Export Flow

1

Authenticate Admin Session

Submit credentials to obtain an authenticated admin session (cookie-based). Store cookie securely in memory only.
2

Request Report Export

Call the report endpoint. Large datasets may stream or paginate depending on infrastructure.
3

Download / Stream Data

Parse JSON or save CSV output (depending on Accept header or tool). Validate column presence.
4

Process & Act

Join with internal user tables. Segment inactive cohorts. Trigger re‑engagement or cleanup workflows.

API Contract (High-Level)

AspectValue
MethodGET
Path/admin/v1/reports/user-last-activity
AuthAdmin session cookie
FormatJSON (default) or CSV (if Accept: text/csv)
PaginationImplementation-specific (check nextCursor if present)
Prefer cursor-based pagination (if available) for large networks instead of increasing page size.

Request

GET https://{region-host}/admin/v1/reports/user-last-activity
Cookie: <admin-session-cookie>
Accept: application/json

Interpreting Results

ScenarioInterpretationSuggested Action
All fields nullNewly created / never logged inOnboarding reminder
Read present, write nullLurker / consumer onlyEngagement nudge (posting tips)
Write recent, login staleBackground activity? Validate session trackingVerify auth flows
No activity ≥ 90 daysDormant accountRe‑engagement or archival workflow

Automation Ideas

Troubleshooting

IssuePossible CauseFix
401 / UnauthorizedMissing / expired admin cookieRe-authenticate and resend request
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].