Create a creative brief
curl --request POST \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/briefs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"kind": "rich_text",
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({kind: 'rich_text', title: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/briefs', 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}/briefs"
payload = {
"kind": "rich_text",
"title": "<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,
"brief": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"kind": "rich_text",
"createdAt": "<string>",
"updatedAt": "<string>",
"bodyHtml": "<string>",
"url": "<string>",
"links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
]
}
}{
"success": true,
"brief": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"kind": "rich_text",
"createdAt": "<string>",
"updatedAt": "<string>",
"bodyHtml": "<string>",
"url": "<string>",
"links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
]
}
}Campaign documents and briefs
Create a creative brief
Adds a creative brief. Discriminated by kind: rich_text (HTML body plus optional links and files attachments), link (an http(s) url), or file (url is the /api/v2/media/{id} path of an uploaded file; upload it with purpose=campaign_brief). files attachments take the same media paths and links attachments take http(s) URLs. An absolute /api/v2/media/{id} URL is stored as its path.
POST
/
api
/
v2
/
campaigns
/
{cid}
/
briefs
Create a creative brief
curl --request POST \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/briefs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"kind": "rich_text",
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({kind: 'rich_text', title: '<string>'})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/briefs', 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}/briefs"
payload = {
"kind": "rich_text",
"title": "<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,
"brief": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"kind": "rich_text",
"createdAt": "<string>",
"updatedAt": "<string>",
"bodyHtml": "<string>",
"url": "<string>",
"links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
]
}
}{
"success": true,
"brief": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"kind": "rich_text",
"createdAt": "<string>",
"updatedAt": "<string>",
"bodyHtml": "<string>",
"url": "<string>",
"links": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
],
"files": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"url": "<string>"
}
]
}
}Authorizations
Body
application/json
- Option 1
- Option 2
- Option 3
Was this page helpful?