Stats:Account

Show Account Stats by Date

Retrieve account-wide stats organized by day, between a start and end date parameter (inclusive). If start and end date are not provided, defaults to yesterday and today.

Requires api token with one of the following permissions

Read detailed stats

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an account authorization granting the view-stats permission can also be used.

get/stats/account/by_date

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/stats/account/by_date
  • Auth
    HTTP bearer

Query parameters

start_datestring date

The start date for the stats, formatted YYYY-MM-DD

end_datestring date

The end date for the stats, formatted YYYY-MM-DD

Headers

X-Wistia-API-Versionstring required

Response

A list of account stats by date

datestring date
load_countinteger
play_countinteger
hours_watchednumber

Changes

No recorded changes to this operation across all 1 revision of this API.