Convert a list to a campaign
curl --request POST \
--url https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"mode": "existing",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({mode: 'existing', campaignId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign"
payload = {
"mode": "existing",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"added": 123,
"skipped": 123
}Lists
Convert a list to a campaign
Adds list creators to an existing campaign or creates a new campaign from the list. Optionally import only approved creators, and choose whether rates and notes copy onto the activations. A new campaign can also set default deliverables, an audio module, and a thumbnail, applied before creators are added. Response includes the campaign ID and counts of added and skipped creators.
POST
/
api
/
v2
/
lists
/
{id}
/
convert-to-campaign
Convert a list to a campaign
curl --request POST \
--url https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"mode": "existing",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({mode: 'existing', campaignId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}/convert-to-campaign"
payload = {
"mode": "existing",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"added": 123,
"skipped": 123
}Authorizations
bearerOrgApiKey & orgIdHeadercookieAuth
Body
application/json
- Option 1
- Option 2
Was this page helpful?