Get a campaign post
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid} \
--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/{pid}', 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/{pid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"post": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"globalPostId": "<string>",
"contentType": "post",
"platform": "<string>",
"platformId": "<string>",
"caption": "<string>",
"url": "<string>",
"thumbnailUrl": "<string>",
"publishedAt": "<string>",
"channel": {
"id": "<string>",
"handle": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"followers": 123
},
"metrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"viewsEstimated": true,
"likesEstimated": true,
"commentsEstimated": true,
"sharesEstimated": true,
"notes": "<string>",
"budget": "<string>",
"cpm": 123,
"boostCode": "<string>",
"refreshIntervalHours": 123,
"tagIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"manualMetrics": {
"views": 1,
"likes": 1,
"comments": 1,
"shares": 1,
"saves": 1,
"reposts": 1,
"reach": 1
},
"collectedMetrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"likesHidden": true,
"metricSources": {
"views": "verified",
"likes": "verified",
"comments": "verified",
"shares": "verified",
"saves": "verified",
"reposts": "verified",
"reach": "verified"
},
"verification": {
"status": "pending",
"lastSyncedAt": "<string>",
"metrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"reposts": 123,
"reach": 123
},
"lastVerifiedMetrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"reposts": 123,
"reach": 123
},
"lastVerifiedAt": "<string>"
},
"verifiedDetails": {
"impressions": 123,
"reach": 123,
"avgWatchTimeSeconds": 123,
"totalWatchTimeSeconds": 123,
"completionRate": 123,
"skipRate": 123,
"profileViews": 123,
"websiteClicks": 123,
"follows": 123,
"retentionCurve": [
{
"second": 123,
"retained": 123
}
],
"discoverySources": {},
"audienceTypes": {},
"viewerCountries": {},
"syncedAt": "<string>"
}
}
}Campaign posts and stories
Get a campaign post
Returns a campaign post with its latest metrics.
GET
/
api
/
v2
/
campaigns
/
{cid}
/
posts
/
{pid}
Get a campaign post
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid} \
--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/{pid}', 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/{pid}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"post": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"globalPostId": "<string>",
"contentType": "post",
"platform": "<string>",
"platformId": "<string>",
"caption": "<string>",
"url": "<string>",
"thumbnailUrl": "<string>",
"publishedAt": "<string>",
"channel": {
"id": "<string>",
"handle": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"followers": 123
},
"metrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"viewsEstimated": true,
"likesEstimated": true,
"commentsEstimated": true,
"sharesEstimated": true,
"notes": "<string>",
"budget": "<string>",
"cpm": 123,
"boostCode": "<string>",
"refreshIntervalHours": 123,
"tagIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"manualMetrics": {
"views": 1,
"likes": 1,
"comments": 1,
"shares": 1,
"saves": 1,
"reposts": 1,
"reach": 1
},
"collectedMetrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"downloads": 123,
"reposts": 123,
"reach": 123
},
"likesHidden": true,
"metricSources": {
"views": "verified",
"likes": "verified",
"comments": "verified",
"shares": "verified",
"saves": "verified",
"reposts": "verified",
"reach": "verified"
},
"verification": {
"status": "pending",
"lastSyncedAt": "<string>",
"metrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"reposts": 123,
"reach": 123
},
"lastVerifiedMetrics": {
"views": 123,
"likes": 123,
"comments": 123,
"shares": 123,
"saves": 123,
"reposts": 123,
"reach": 123
},
"lastVerifiedAt": "<string>"
},
"verifiedDetails": {
"impressions": 123,
"reach": 123,
"avgWatchTimeSeconds": 123,
"totalWatchTimeSeconds": 123,
"completionRate": 123,
"skipRate": 123,
"profileViews": 123,
"websiteClicks": 123,
"follows": 123,
"retentionCurve": [
{
"second": 123,
"retained": 123
}
],
"discoverySources": {},
"audienceTypes": {},
"viewerCountries": {},
"syncedAt": "<string>"
}
}
}Authorizations
Was this page helpful?