curl --request POST \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"url": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({url: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts', 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}/deliverables/{delId}/posts"
payload = { "url": "<string>" }
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,
"post": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"deliverable": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"deliverableStatus": "Pending",
"deliverableTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deliverableTypeTitle": "<string>",
"deliverableTypePlatform": "<string>",
"draftDueDate": "<string>",
"postDueDate": "<string>",
"completedDate": "<string>",
"lastStatusChange": "<string>",
"creator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"profilePicture": "<string>"
},
"managers": [
{
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
}
],
"createdAt": "<string>",
"linkedPostUrl": "<string>"
},
"failedTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>"
}
]
}Link a post to a deliverable
Links a post URL to a deliverable, stamps the campaign-post row with that deliverable’s activation, queues the same ingest as adding a campaign post, and marks the deliverable Complete (sets completedDate). When every deliverable on the creator’s activation is then Complete, the activation moves to its Complete status (Awaiting Payout, or Paid when payouts already cover the rate). Adding another post to an already-Complete deliverable keeps it Complete. Optional budget is stored as the post budget. Omit it to store the suggested split (activation creator rate ÷ that creator’s deliverables on the campaign) when the post has no budget yet. budget: null stores no budget. Optional tagIds attach org post tags to the linked campaign post in the same request. A tag that cannot be attached is listed in failedTags and does not undo the post or the completion. Returns the linked post and the updated deliverable. Returns 404 (campaign_deliverable_not_found) if the deliverable is not on this campaign.
curl --request POST \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"url": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({url: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts', 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}/deliverables/{delId}/posts"
payload = { "url": "<string>" }
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,
"post": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>"
},
"deliverable": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"deliverableStatus": "Pending",
"deliverableTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deliverableTypeTitle": "<string>",
"deliverableTypePlatform": "<string>",
"draftDueDate": "<string>",
"postDueDate": "<string>",
"completedDate": "<string>",
"lastStatusChange": "<string>",
"creator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"profilePicture": "<string>"
},
"managers": [
{
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
}
],
"createdAt": "<string>",
"linkedPostUrl": "<string>"
},
"failedTags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": "<string>"
}
]
}Authorizations
Body
Response
Created
Was this page helpful?