Update auto post tagging settings
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-post-tagging \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"enabled": true,
"tagIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({enabled: true, tagIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-post-tagging', 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}/auto-post-tagging"
payload = {
"enabled": True,
"tagIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"autoPostTagging": {
"enabled": true,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
]
}
}Campaign automation
Update auto post tagging settings
Updates whether auto-tagging is enabled and which post tags apply to newly added posts. Sending tagIds replaces the full set. Requires auto post tagging to be enabled for the organization.
PATCH
/
api
/
v2
/
campaigns
/
{cid}
/
auto-post-tagging
Update auto post tagging settings
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-post-tagging \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"enabled": true,
"tagIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({enabled: true, tagIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/auto-post-tagging', 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}/auto-post-tagging"
payload = {
"enabled": True,
"tagIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"autoPostTagging": {
"enabled": true,
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"emoji": "<string>"
}
]
}
}Authorizations
Was this page helpful?