Skip to main content
StatisticsVersion: v3New

Get Campaign Statistics

GET/emails/locations/{locationId}/campaigns/stats/{source}/{sourceId}

Get statistics for email campaigns, workflows, or bulk actions

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:emails/stats.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location ID

Example:ve9EPM428h8vShlRW1KT
sourcestringrequired

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

Available optionsemail-campaignsworkflow-campaignsbulk-actions
Example:email-campaigns
sourceIdstringrequired

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

Example:abc123

Query Parameters

subSourceIdstring

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

Example:step001

Response

Success

locationIdstringrequired

Location ID

Example:abc123
sourcestringrequired

Source type

Available optionsemail-campaignsworkflow-campaignsbulk-actions
Example:email-campaigns
sourceIdstringrequired

Source ID

Example:campaign123
subSourceIdstring

Workflow action ID

Example:step001
statsobjectrequired

Email performance metrics

traceIdstring

Trace ID of the request

Example:019e4ef5-a65e-4198-8cf9-8e93dca9bda4