post https://a.klaviyo.com/api/campaign-values-reports
Returns the requested campaign analytics values data
Rate limits:
Burst: 1/s
Steady: 2/m
Daily: 225/d
Scopes:
campaigns:read
Responses
Returns the requested campaign analytics values data
Rate limits:
Burst: 1/s
Steady: 2/m
Daily: 225/d
Scopes:
campaigns:read
xxxxxxxxxx
18curl --request POST \
--url https://a.klaviyo.com/api/campaign-values-reports \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2025-01-15' \
--data '
{
"data": {
"type": "campaign-values-report",
"attributes": {
"timeframe": {
"key": "last_12_months"
}
}
}
}
'
xxxxxxxxxx
43}
{
"data": {
"type": "campaign-values-report",
"attributes": {
"results": [
{
"groupings": {
"send_channel": "email",
"campaign_id": "01GMRWDSA0ARTAKE1SFX8JGXAY"
},
"statistics": {
"opens": 123,
"open_rate": 0.8253
}
},
{
"groupings": {
"send_channel": "email",
"campaign_id": "01GJTHNWVG93F3KNX71SJ4FDBB"
},
"statistics": {
"opens": 97,