API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
  1. Examples
  • Introduction
  • Filter parameter specification
  • Data formats
    • Records
    • Timeseries
    • Statistics
  • Reports
    • Members
      • members (records)
      • members_count (records)
      • members_grouped_count (records)
      • member_balance (timeseries)
      • members_count_snapshot (timeseries)
      • members_count_history (timeseries)
    • Sendings
      • sendings (records)
      • sendings_events_history (timeseries)
      • sendings_recipients_statistics (timeseries)
      • sendings_links (records)
      • sendings_links_stats (records)
      • sendings_stats (statistics)
      • Examples
        • sendings - find sending by reporting_id
          POST
        • sendings_events_history - show sending events
          POST
        • sendings_recipients_statistics - show recipients by age groups
          POST
        • sendings_stats - show statistics for campaign
          POST
        • sendings_events_history - show sending events for campaign
          POST
        • sendings_stats - show statistics for all campaigns
          POST
        • sendings_events_history - show sending events for all campaigns
          POST
    • Links
      • links_visits_history (timeseries)
    • Offers
  • Geo API
    • Find Locations Coordinates
      POST
    • List places
      POST
    • Show place
      GET
  • Metadata
    POST
  • Field metadata
    POST
  • Query (records)
    POST
  • Query (timeseries)
    POST
  • Query (records) export
    POST
  • Query (timeseries) export
    POST
  • Tenants query (records) export
    POST
  • Tenants query (timeseries) export
    POST
API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
API OverviewAPI Reference
developer.placewise.comapp.placewise.complacewise.com
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
IndexPublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
  1. Examples

sendings_events_history - show sending events for all campaigns

POST
https://api.mpc.dev.placewise.com/v1/reporting/query
API Permit:Reporting:Api:Query
API Context:Customer
Authorizations:UserToken

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/reporting/query' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "report": "sendings_events_history",
    "interval": "auto",
    "filter": {
        "type": "equal",
        "field": "service_type",
        "value": "campaigns"
    },
    "aggregate_by": "service_type",
    "from": "2025-11-01T00:00:00",
    "to": "2026-02-11T15:00:00"
}'
Response Response Example
{
    "interval": "1d",
    "range_timezone": "America/Denver",
    "time_buckets": [
        "2026-01-01T00:00:00.000-07:00",
        "2026-01-02T00:00:00.000-07:00",
        "2026-01-03T00:00:00.000-07:00",
        "2026-01-04T00:00:00.000-07:00",
        "2026-01-05T00:00:00.000-07:00",
        "2026-01-06T00:00:00.000-07:00",
        "2026-01-07T00:00:00.000-07:00",
        "2026-01-08T00:00:00.000-07:00",
        "2026-01-09T00:00:00.000-07:00",
        "2026-01-10T00:00:00.000-07:00",
        "2026-01-11T00:00:00.000-07:00",
        "2026-01-12T00:00:00.000-07:00",
        "2026-01-13T00:00:00.000-07:00",
        "2026-01-14T00:00:00.000-07:00",
        "2026-01-15T00:00:00.000-07:00",
        "2026-01-16T00:00:00.000-07:00",
        "2026-01-17T00:00:00.000-07:00",
        "2026-01-18T00:00:00.000-07:00",
        "2026-01-19T00:00:00.000-07:00",
        "2026-01-20T00:00:00.000-07:00",
        "2026-01-21T00:00:00.000-07:00",
        "2026-01-22T00:00:00.000-07:00",
        "2026-01-23T00:00:00.000-07:00",
        "2026-01-24T00:00:00.000-07:00",
        "2026-01-25T00:00:00.000-07:00",
        "2026-01-26T00:00:00.000-07:00",
        "2026-01-27T00:00:00.000-07:00",
        "2026-01-28T00:00:00.000-07:00",
        "2026-01-29T00:00:00.000-07:00",
        "2026-01-30T00:00:00.000-07:00",
        "2026-01-31T00:00:00.000-07:00",
        "2026-02-01T00:00:00.000-07:00",
        "2026-02-02T00:00:00.000-07:00",
        "2026-02-03T00:00:00.000-07:00",
        "2026-02-04T00:00:00.000-07:00",
        "2026-02-05T00:00:00.000-07:00",
        "2026-02-06T00:00:00.000-07:00",
        "2026-02-07T00:00:00.000-07:00",
        "2026-02-08T00:00:00.000-07:00",
        "2026-02-09T00:00:00.000-07:00",
        "2026-02-10T00:00:00.000-07:00",
        "2026-02-11T00:00:00.000-07:00"
    ],
    "series": [
        {
            "label": {
                "campaign_id": 100001,
                "event_type": "new"
            },
            "values": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                3,
                null,
                null
            ]
        },
        {
            "label": {
                "campaign_id": 100001,
                "event_type": "transmitted"
            },
            "values": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                3,
                null,
                null
            ]
        },
        {
            "label": {
                "campaign_id": 100001,
                "event_type": "delivered"
            },
            "values": [
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                3,
                null,
                null
            ]
        }
    ],
    "data_points": 3,
    "result_type": "timeseries"
}
Previous
sendings_stats - show statistics for all campaigns
Next
links_visits_history (timeseries)
Built with