Query Campaign Values
POSThttps://a.klaviyo.com/api/campaign-values-reports
Returns the requested campaign analytics values data
- Revision header
revision: 2026-10-15required- Scopes
campaigns:read- Rate limits
- Burst:
1/sSteady:2/mDaily:225/d
Query parameters
For more information please visit API overview
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15
Request body
Content type: application/vnd.api+jsonrequired
Show 2 fields
Show 5 fields
List of statistics to query for. All rate statistics will be returned in fractional form [0.0, 1.0]
The time frame to pull data from (Max length: 1 year). See available time frames.
Option 1:
TimeframePre-defined key that represents a set timeframe
Option 2:
CustomTimeframeA datetime that represents the start of a custom time frame. Offset is ignored and the company timezone is used.
A datetime that represents the end of a custom time frame. Offset is ignored and the company timezone is used.
ID of the metric to be used for conversion statistics
List of attributes to group the data by. Allowed group-bys are campaign_id, campaign_message_id, campaign_message_name, group, group_name, send_channel, tag_id, tag_name, text_message_format, variation, variation_name. If not passed in, the data will be grouped by campaign_id, campaign_message_id, send_channel. The following group by attributes are required: campaign_id, campaign_message_id
API filter string used to filter the query. Scalar attributes (send_channel, campaign_id, campaign_message_id, campaign_message_name, variation, variation_name, text_message_format): Supported operators: equals, contains-any. List attributes (tag_id, tag_name): Supported operators: contains-any, contains-all. Only one filter can be used per attribute. Only AND can be used as a combination operator. Max of 100 items per list filter. When filtering on send_channel, allowed values are email, sms, push-notification, whatsapp.
Responses
200Success
Content type: application/vnd.api+json
Show 3 fields
Show 1 field
An array of all the returned values data. Each object in the array represents one unique grouping and the results for that grouping.
Show 1 field
Response-level metadata
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json