Hi,
When using the /metric-aggregates endpoint and settings the ‘by’ and ‘sort’ parameters to ‘Campaign Name’, I am still seeing flows in the API response.
Request:
{
"data": {
"type": "metric-aggregate",
"attributes": {
"metric_id": "UZ9CLT",
"measurements": [
"unique"
],
"interval": "day",
"filter": [
"greater-or-equal(datetime,2023-08-01T00:00:00.000Z)",
"less-than(datetime,2023-09-01T00:00:00.000Z)"
],
"page_size": 500,
"page_cursor": "",
"by": [
"Campaign Name"
],
"sort": "Campaign Name"
}
}
}
Response contains:
Those are Flows as you can see in the UI screenshot here:
Is there something wrong in the way we request this data / why do these flows show up when requesting emails?
Thanks!
Best answer by Brian Turcotte
View original