List campaign drafts
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/drafts \
--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}/drafts', 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}/drafts"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"drafts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationLabel": "<string>",
"activationPicture": "<string>",
"deliverableId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"approvalStatus": "Approved",
"caption": "<string>",
"thumbnail": "<string>",
"file": "<string>",
"media": [
{
"url": "<string>",
"thumbnail": "<string>",
"contentType": "<string>"
}
],
"versionGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"parentDraftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdByName": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"feedbackCount": 1,
"latestFeedbackAt": "<string>",
"latestDecisionFeedback": "<string>",
"latestDecisionStatus": "Approved",
"latestDecisionAt": "<string>",
"deliverableIds": []
}
],
"total": 1,
"limit": 123,
"offset": 1
}Campaign drafts
List campaign drafts
Returns drafts. Filter by status or deliverable_id, sort with sort (createdAt, updatedAt, creator). By default only the latest revision per version group is returned (latestOnly=true). List rows include feedbackCount, latestFeedbackAt, and the newest decision note (latestDecisionFeedback, latestDecisionStatus, latestDecisionAt). Paginated (default 50, max 200).
GET
/
api
/
v2
/
campaigns
/
{cid}
/
drafts
List campaign drafts
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/drafts \
--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}/drafts', 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}/drafts"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"drafts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationLabel": "<string>",
"activationPicture": "<string>",
"deliverableId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"approvalStatus": "Approved",
"caption": "<string>",
"thumbnail": "<string>",
"file": "<string>",
"media": [
{
"url": "<string>",
"thumbnail": "<string>",
"contentType": "<string>"
}
],
"versionGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"parentDraftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdByName": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"feedbackCount": 1,
"latestFeedbackAt": "<string>",
"latestDecisionFeedback": "<string>",
"latestDecisionStatus": "Approved",
"latestDecisionAt": "<string>",
"deliverableIds": []
}
],
"total": 1,
"limit": 123,
"offset": 1
}Authorizations
Query Parameters
Was this page helpful?