Comment on a draft on a shared campaign
curl --request POST \
--url https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments \
--header 'Content-Type: application/json' \
--data '
{
"feedback": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({feedback: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments"
payload = { "feedback": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"feedback": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "internal",
"approvalStatus": "Approved",
"feedback": "<string>",
"videoTimestampSecondsList": [
1
],
"createdAt": "<string>"
}
}Public
Comment on a draft on a shared campaign
Adds an anonymous comment to a campaign draft from the public client share page, optionally pinned to video playback times (videoTimestampSecondsList, in seconds). Requires the campaign’s public share slug (and unlock cookie when password-protected). The draft must be visible under the share page’s draft visibility setting and be the latest revision. Comments do not change the draft’s approval status.
POST
/
api
/
v2
/
public
/
campaigns
/
{slug}
/
drafts
/
{draftId}
/
comments
Comment on a draft on a shared campaign
curl --request POST \
--url https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments \
--header 'Content-Type: application/json' \
--data '
{
"feedback": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({feedback: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/public/campaigns/{slug}/drafts/{draftId}/comments"
payload = { "feedback": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"feedback": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "internal",
"approvalStatus": "Approved",
"feedback": "<string>",
"videoTimestampSecondsList": [
1
],
"createdAt": "<string>"
}
}Body
application/json
Was this page helpful?