Get campaign settings
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/settings \
--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}/settings', 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}/settings"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"settings": {
"currency": "AED",
"externalRates": true,
"shareSettings": {
"platforms": [
"<string>"
],
"creatorVisibility": "all",
"showCreatorStatuses": true,
"showRates": true,
"draftVisibility": "all",
"showTotalBudget": true,
"showCpm": true,
"showReach": true,
"showPostPerformanceModule": true,
"showCustomColumns": false
},
"passwordEnabled": true,
"hasPassword": true,
"autoAdd": {
"enabled": true,
"ruleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}
}Campaign settings and sharing
Get campaign settings
Returns currency, external-rates flag, partner-share visibility, password flags, and an auto-add summary. Response includes an ETag for optimistic concurrency on PATCH.
GET
/
api
/
v2
/
campaigns
/
{cid}
/
settings
Get campaign settings
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/settings \
--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}/settings', 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}/settings"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"settings": {
"currency": "AED",
"externalRates": true,
"shareSettings": {
"platforms": [
"<string>"
],
"creatorVisibility": "all",
"showCreatorStatuses": true,
"showRates": true,
"draftVisibility": "all",
"showTotalBudget": true,
"showCpm": true,
"showReach": true,
"showPostPerformanceModule": true,
"showCustomColumns": false
},
"passwordEnabled": true,
"hasPassword": true,
"autoAdd": {
"enabled": true,
"ruleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}
}Authorizations
Was this page helpful?