Skip to main content
Version: v3New

Get Campaign Statistics

GET 

/emails/locations/:locationId/campaigns/stats/:source/:sourceId

Get statistics for email campaigns, workflows, or bulk actions

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location ID

source stringrequired

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

Available optionsemail-campaignsworkflow-campaignsbulk-actions
sourceId stringrequired

Source 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

    traceIdstring

    Trace ID of the request