Get Average Sessions Count per User

CUSTOM-ENDPOINT

GET https://api.speakap.io/networks/:eid/stats/average-sessions-per-user

CUSTOM-REQUEST

  • URI: /networks/{networkEID}/stats/average-sessions-per-user
  • 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.

Statistics Session Count Object

NameTypeDescription
dataarrayList of requested metrics. See concrete endpoints for exact values
dateFromdatetimeRequested start date for statistics
dateTodatetimeRequested end date for statistics
averageSessionsPerUserForPeriodintegerAverage sessions number per user per whole period

Session Count Entry

NameTypeDescription
datedatetimeMetrics date
averageSessionsPerUserintegerAverage sessions per user

Response

StatusData
200Valid: returns an Statistics Session Count Object with Session Count Entry objects under data key
400Invalid request data: returns an Error object
401Unauthorized: returns an Error object