Campaigns

Get campaign stats

Changed on

Returns aggregated statistics for a specific campaign.

get/campaigns/{campaign_id}/stats

Request

  • Base URL
    https://api2.ecomailapp.cz
  • URL
    https://api2.ecomailapp.cz/campaigns/{campaign_id}/stats
  • Auth
    API key in header key

Path parameters

campaign_idinteger required

Campaign ID.

Query parameters

from_datestring

Filter statistics from this date onwards (YYYY-MM-DD, UTC). Cannot be more than one year in the past.

to_datestring

Filter statistics up to this date (YYYY-MM-DD, UTC). Must be after from_date.

Response

OK

Changes

    • info

      added the new optional query request parameter from_date

    • info

      added the new optional query request parameter to_date

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status