List deliverable posts
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts \
--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/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"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"posts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "<string>",
"platformId": "<string>",
"url": "<string>",
"thumbnailUrl": "<string>",
"publishedAt": "<string>",
"addedAt": "<string>"
}
]
}Campaign deliverables
List deliverable posts
Returns posts linked to a deliverable. Not paginated. Returns 404 if the deliverable is not on this campaign.
GET
/
api
/
v2
/
campaigns
/
{cid}
/
deliverables
/
{delId}
/
posts
List deliverable posts
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/deliverables/{delId}/posts \
--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/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"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"posts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "<string>",
"platformId": "<string>",
"url": "<string>",
"thumbnailUrl": "<string>",
"publishedAt": "<string>",
"addedAt": "<string>"
}
]
}Authorizations
Was this page helpful?