get https://api.yotpo.com/messaging/v3/stores//analytics/query/aggregations
Gets and aggregates data based on dimensions and measures from specified source. Filters for dimensions and measures are optional.
Suggested Filters
You can use Filters to get specific dimension value, for example:
source_type=campaign, channel_type=email
Aggregation frequecy
Data is aggregated (updated) on an hourly basis
Example
Below is an example of a request that can be sent.
https://api.yotpo.com/messaging/v3/stores/{store_id}/analytics/query/aggregations?dimensions[]=source_name&dimensions[]=source_id&dimensions[]=aggregation_date&measures[]=all_clicks&measures[]=all_sent&filters[]=source_type=campaign