Attach a tag to a post (idempotent)
curl --request PUT \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid}/tags/{tagId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid}/tags/{tagId}', 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}/posts/{pid}/tags/{tagId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.put(url, headers=headers)
print(response.text){
"success": true,
"tag": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
}Campaign posts and stories
Attach a tag to a post (idempotent)
Idempotent attach by tag ID. Re-attaching is a no-op; both cases return 200 with the tag summary.
PUT
/
api
/
v2
/
campaigns
/
{cid}
/
posts
/
{pid}
/
tags
/
{tagId}
Attach a tag to a post (idempotent)
curl --request PUT \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid}/tags/{tagId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/posts/{pid}/tags/{tagId}', 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}/posts/{pid}/tags/{tagId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.put(url, headers=headers)
print(response.text){
"success": true,
"tag": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
}Authorizations
Was this page helpful?