Skip to main content
Outbound

Get the Outbound analytics time series

Returns engagement over time for a message, bucketed by hour, day or week.

GET
/v2/outbound/messages/{outboundMessageId}/analytics/timeseries

Query Parameters

  • start - Range start (ISO 8601, required)
  • end - Range end (ISO 8601, required, exclusive)
  • bucket - hour, day or week (required)
  • timezone - IANA timezone for bucket boundaries (defaults to the organization timezone)
  • metrics - Comma-separated metrics to include (defaults to every metric of the message type)

The range is limited per bucket size, for example a maximum of 31 days for hourly buckets. Buckets without events are zero-filled.

Response

Returns one series per metric. Each point has date, totalCount and uniqueCount.

Errors

  • 400 - Invalid message ID, range, bucket, timezone or metrics filter
  • 404 - Message not found or doesn't belong to your organization
  • 502 / 504 - The analytics store failed or timed out; narrow the range and retry

Version Availability

This endpoint is only available in API version 2026-09-03.pulsar and newer.

Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

outboundMessageIdstringrequired

Outbound message ID

Example: 6457e3ff70afca5d8c27dccc
startstring | nullquery
endstring | nullquery
bucketenum<string>queryrequired
Available options: hour, day, week
timezonestringquery
Maximum string length: 100
metricsstringquery
Maximum string length: 500
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-09-03.pulsar, 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-09-03.pulsar

Response

application/json

Success

bucketenum<string>required

Bucket size

Available options: hour, day, week
Example: day
endstringrequired

Range end as an ISO 8601 timestamp (exclusive)

Example: 2026-09-01T00:00:00.000Z
objectenum<string>required

Object type identifier

Available options: outbound_analytics_timeseries
Example: outbound_analytics_timeseries
seriesobject[]required

One zero-filled series per metric

startstringrequired

Range start as an ISO 8601 timestamp

Example: 2026-08-01T00:00:00.000Z
timezonestringrequired

IANA timezone used for bucket boundaries

Example: Europe/Tallinn