GET /2/media/analytics

Retrieves analytics data for media.

Servers

Query parameters

Name Type Required Description
start_time String Yes

YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range.

media_analytics.fields[] Array No

A comma separated list of MediaAnalytics fields to display.

granularity String Yes

The granularity for the search counts results.

Valid values:

  • "total"
  • "daily"
  • "hourly"

Default value: "daily"

media_keys[] Array Yes

A comma separated list of Media Keys. Up to 100 are allowed in a single request.

end_time String Yes

YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.