Skip to main content
Version: 2021-07-28

Get Campaign Statistics

GET 

/emails/stats/location/:locationId/:source/:sourceId

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Get statistics for email campaigns, workflows, or bulk actions

Request​

Version stringrequired

API Version

Available options2021-07-28
locationId stringrequired

Location ID

source stringrequired

Source type: email-campaigns, workflow-campaigns, or bulk-actions

Available optionsemail-campaignsworkflow-campaignsbulk-actions
sourceId stringrequired

ID of the email campaign, workflow campaign, or bulk action

subSourceId string

Workflow action ID. Only valid when source is workflow-campaigns

application/json

Success

Schema
    locationIdstringrequired

    Location ID

    sourcestringrequired

    Source type

    Available optionsemail-campaignsworkflow-campaignsbulk-actions
    sourceIdstringrequired

    Source ID

    subSourceIdstring

    Workflow action ID

    statsobjectrequired

    Email performance metrics