List campaign templates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/org/campaign-templates \
--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/org/campaign-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/campaign-templates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"templates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"emoji": "<string>",
"sourceCampaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"includedAttributes": {
"columns": true,
"views": true,
"campaignTags": true,
"postTags": true,
"currency": true,
"shareSettings": true
},
"payload": {
"columns": [
{
"name": "<string>",
"type": "text",
"isCustom": true,
"field": "<string>",
"options": [
"<string>"
],
"rank": 123,
"position": 123,
"externalVisibility": "hidden"
}
],
"views": [
{
"type": "creator",
"name": "<string>",
"isDefault": true,
"columns": [
{
"ref": "<string>",
"width": 123
}
]
}
],
"campaignTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
],
"postTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
],
"currency": "AED",
"shareSettings": {
"platforms": [
"<string>"
],
"creatorVisibility": "all",
"showCreatorStatuses": true,
"showRates": true,
"draftVisibility": "all",
"showTotalBudget": true,
"showCpm": true,
"showReach": true,
"showPostPerformanceModule": true,
"showCustomColumns": false
}
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}Campaign templates
List campaign templates
Returns organization campaign templates. Not paginated.
GET
/
api
/
v2
/
org
/
campaign-templates
List campaign templates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/org/campaign-templates \
--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/org/campaign-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/org/campaign-templates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"templates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"emoji": "<string>",
"sourceCampaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"includedAttributes": {
"columns": true,
"views": true,
"campaignTags": true,
"postTags": true,
"currency": true,
"shareSettings": true
},
"payload": {
"columns": [
{
"name": "<string>",
"type": "text",
"isCustom": true,
"field": "<string>",
"options": [
"<string>"
],
"rank": 123,
"position": 123,
"externalVisibility": "hidden"
}
],
"views": [
{
"type": "creator",
"name": "<string>",
"isDefault": true,
"columns": [
{
"ref": "<string>",
"width": 123
}
]
}
],
"campaignTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
],
"postTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
],
"currency": "AED",
"shareSettings": {
"platforms": [
"<string>"
],
"creatorVisibility": "all",
"showCreatorStatuses": true,
"showRates": true,
"draftVisibility": "all",
"showTotalBudget": true,
"showCpm": true,
"showReach": true,
"showPostPerformanceModule": true,
"showCustomColumns": false
}
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}Authorizations
Was this page helpful?