Number of Users Active Within the Network

CUSTOM-ENDPOINT

GET https://api.speakap.io/networks/:eid/stats/active-users-count

CUSTOM-REQUEST

  • URI: /networks/{networkEID}/stats/active-users-count
  • Method: GET
  • Authentication: OAuth 2.0

Parameters

NameTypeDescription
networkEIDEIDNetwork EID

Filters

NameTypeDescription
periodstringDate range for statistics. Possible values are: today, yesterday, last_7_days, last_week, last_30_days, last_month

Parameter period equals to last_week will return data for last calendar week (from Monday to Sunday). Filter last_month has same behaviour.

Active Statistics Object

NameTypeDescription
dataarrayList of requested metrics. See concrete endpoints for exact values
dateFromdatetimeRequested start date for statistics
dateTodatetimeRequested end date for statistics
uniqueUsersForPeriodintegerAmount of unique users for requested period

Response

StatusData
200Valid: returns an Active Statistics Object with Users entry objects under data key
400Invalid request data: returns an Error object
401Unauthorized: returns an Error object