{
"report": "sendings",
"filter": {
"type": "equal",
"field": "reporting_id",
"value": 7265
},
"aggregate_by": "reporting_id"
}
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/reporting/query' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"report": "sendings",
"filter": {
"type": "equal",
"field": "reporting_id",
"value": 7265
},
"aggregate_by": "reporting_id"
}'
{
"records": [
{
"reporting_id": 7265,
"service_type": "campaigns",
"ids": [
40689
],
"dispatches_count": 73,
"members_count": 73,
"new_count": 0,
"delivered_count": 72,
"delivery_errored_count": 1,
"failed_count": 0,
"opened_count": 0,
"opened_events_count": 0,
"transiently_failed_count": 0,
"transmitted_count": 73,
"first_created_at": "2025-08-06T09:00:31.423979",
"last_created_at": "2025-08-06T09:00:31.423979",
"timeseries_time_ranges": {
"1h": {
"from": "2025-08-06T09:00:00.000000Z",
"to": "2025-08-08T09:00:31.423979Z"
},
"1d": {
"from": "2025-08-06T00:00:00.000000Z",
"to": "2025-08-08T09:00:31.423979Z"
},
"1w": {
"from": "2025-08-04T00:00:00.000000Z",
"to": "2025-08-08T09:00:31.423979Z"
},
"1mo": {
"from": "2025-08-01T00:00:00.000000Z",
"to": "2025-08-08T09:00:31.423979Z"
}
}
}
],
"pagination": {
"next_page_info": null
},
"result_type": "records"
}