API Quickstart
This page shows you how to get started using the activities analytics API to query your data in mediarithmics.
Step 1 : Configure authentication
This quickstart guide uses the Long term access tokens authentication method. Choose and configure your own authentication method. For more information, see Authentication.
Step 2 : API call
POST
https://api.mediarithmics.com/v1/datamarts/:datamartId/user_activities_analytics
Query Parameters
datamartId*
number
The ID of the datamart to query
Request Body
metrics*
array
dimension_filter_clauses
object
dimensions*
array
date_ranges*
array
Here is a sample report request as body payload with all the important properties
The API will answer with a Single resource wrapper containing a ReportView.
Congratulations! You've sent your first request to the Activities analytics API.
Last updated