Get campaign post aggregates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"aggregates": {
"matchCount": 123,
"totals": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"rates": {
"avgPostEngagementRate": 123,
"campaignEngagementRate": 123,
"avgPostEngagementRateAtStart": 123,
"campaignEngagementRateAtStart": 123
},
"deltas": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"posts": 123,
"saves": 123,
"downloads": 123
},
"cpm": 123
}
}Campaign posts and stories
Get campaign post aggregates
Returns filtered totals, engagement rates, and compare-window deltas without fetching post rows. Accepts the same filters as the posts list (no pagination or sort).
GET
/
api
/
v2
/
campaigns
/
{cid}
/
posts
/
aggregates
Get campaign post aggregates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/aggregates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"aggregates": {
"matchCount": 123,
"totals": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"rates": {
"avgPostEngagementRate": 123,
"campaignEngagementRate": 123,
"avgPostEngagementRateAtStart": 123,
"campaignEngagementRateAtStart": 123
},
"deltas": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"posts": 123,
"saves": 123,
"downloads": 123
},
"cpm": 123
}
}Authorizations
Query Parameters
Was this page helpful?