Skip to main content
GET
Campaign analytics over time

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Campaign id.

Example:

"c1a2b3d4-..."

Query Parameters

startDate
string

Start of the reporting window (ISO-8601). ⚠️ Reporting is by whole calendar day in your workspace timezone – the time component is ignored, so this date counts from the START of that day.

Example:

"2026-06-01T00:00:00Z"

endDate
string

End of the reporting window (ISO-8601). Defaults to now. ⚠️ Inclusive and by whole calendar day (time component ignored) – this counts through the END of that day in your workspace timezone.

Example:

"2026-06-30T23:59:59Z"

excludeOOO
boolean
default:false

Exclude out-of-office auto-replies from reply counts and reply rate. Mirrors the dashboard toggle.

Example:

true

interval
enum<string>
default:day

Bucket size. Coarser intervals are auto-selected for long windows to keep the series readable.

Available options:
day,
week,
month
Example:

"day"

Response

campaignId
string
required
Example:

"c1a2b3d4-..."

period
object
required
interval
enum<string>
required

Bucket size actually used – may be coarser than requested for long windows.

Available options:
day,
week,
month
Example:

"day"

data
object[]
required