Get selection refresh status
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/bulk/refresh/status \
--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/bulk/refresh/status', 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/bulk/refresh/status"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"status": {
"phase": "idle",
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refreshId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "campaign",
"taskStatus": "pending",
"total": 123,
"enqueued": 123,
"skippedInQueue": 123,
"campaignPostCount": 123,
"refreshedSinceStart": 123,
"succeededCount": 123,
"failedCount": 123,
"skippedCount": 123,
"unavailableCount": 123,
"inFlight": 123,
"remaining": 123,
"drainTarget": 123,
"startedAt": "<string>",
"completedAt": "<string>",
"errorMessage": "<string>",
"startedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startedByName": "<string>"
}
}Campaign posts and stories
Get selection refresh status
Returns progress for one refresh job. Pass job_id from the bulk refresh response (or refreshId from the campaign status).
GET
/
api
/
v2
/
campaigns
/
{cid}
/
posts
/
bulk
/
refresh
/
status
Get selection refresh status
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/bulk/refresh/status \
--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/bulk/refresh/status', 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/bulk/refresh/status"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"status": {
"phase": "idle",
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refreshId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "campaign",
"taskStatus": "pending",
"total": 123,
"enqueued": 123,
"skippedInQueue": 123,
"campaignPostCount": 123,
"refreshedSinceStart": 123,
"succeededCount": 123,
"failedCount": 123,
"skippedCount": 123,
"unavailableCount": 123,
"inFlight": 123,
"remaining": 123,
"drainTarget": 123,
"startedAt": "<string>",
"completedAt": "<string>",
"errorMessage": "<string>",
"startedByUserId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startedByName": "<string>"
}
}Authorizations
Was this page helpful?