Skip to main content
GET
Email stats for a campaign

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Path Parameters

id
string
required

The initiative id, as initiatives_list or initiatives_get return it.

Minimum string length: 1

Query Parameters

range
enum<string>

Emails SENT in this period. Defaults to what the app opens on: all (since recording began, the campaign card) for a campaign, 7d (the Analytics › Email tab) for a journey or transactional email. custom needs from and to; today starts at midnight in timeZone.

Available options:
today,
7d,
30d,
custom,
all
from
string

With range: custom: a date (2026-12-01) or ISO 8601 timestamp.

to
string

With range: custom: a date (the whole UTC day is included) or ISO 8601 timestamp.

timeZone
string

IANA zone, e.g. America/Mexico_City. Defaults to UTC.

Maximum string length: 64
environmentId
string

Defaults to the organization's default environment, as in the app.

workflowId
string

Only runs of this journey version. Required with nodeId.

nodeId
string

One email step's results (its node id in journeys_get_definition). Needs workflowId: node ids repeat across versions.

Minimum string length: 1
includeFunnel
boolean

The Analytics › Email tab's people funnel. On by default for a dated range of a campaign or journey; pass false to skip it (it is the heavier read). Never for transactional email, one step or range: all.

Response

Success

initiative
object
required
window
object
required

The window these numbers cover. Quote it with any number.

emails
object
required
funnel
object | null
required
notes
string[]
required