Skip to content

Returns the member counters for a date range — total, active, new and pending — each with a period-over-period comparison.

All four are counts within the requested window rather than lifetime totals, so total_members and new_members are computed identically and always match; only their titles differ. active_members counts by last activity instead of signup date.

Endpoint

  • Method: GET

  • Path: /analytics/members/widget

  • Edition: PRO

  • Controller: MembersReportsController@widget

  • Route source: fluent-community-pro/app/Http/Routes/api.php:77

  • Controller source: fluent-community-pro/app/Http/Controllers/MembersReportsController.php

  • Requires the FluentCommunity community-admin permission (or a WordPress super admin).

  • Requires FluentCommunity Pro.

  • The comparison figure on pending_members is not reliable — the previous-period query is built on the already-filtered one, so it resolves to zero.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET Get Member Widget Report

GET
/analytics/members/widget

Returns the member counters for a date range — total, active, new and pending — each with a period-over-period comparison.

Controller: MembersReportsController@widget
Route source: fluent-community-pro/app/Http/Routes/api.php:77

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Responses

Successful response

application/json
JSON
{
  
"data": {
  
  
"active_members": {
  
  
  
"comparison": "string",
  
  
  
"title": "string",
  
  
  
"total_records": 0
  
  
},
  
  
"new_members": {
  
  
  
"comparison": "string",
  
  
  
"title": "string",
  
  
  
"total_records": 0
  
  
},
  
  
"pending_members": {
  
  
  
"comparison": "string",
  
  
  
"title": "string",
  
  
  
"total_records": 0
  
  
},
  
  
"total_members": {
  
  
  
"comparison": "string",
  
  
  
"title": "string",
  
  
  
"total_records": 0
  
  
}
  
}
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation