Update a channel link
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/channels/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"tracker": true,
"refreshIntervalHours": 1.25
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({tracker: true, refreshIntervalHours: 1.25})
};
fetch('https://beta.creatorcore.co/api/v2/channels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/channels/{id}"
payload = {
"tracker": True,
"refreshIntervalHours": 1.25
}
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,
"channel": {
"link": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"globalChannelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracker": true,
"refreshIntervalHours": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"displayName": "<string>"
},
"channel": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "tiktok",
"platformId": "<string>",
"handle": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"bio": "<string>",
"url": "<string>",
"refreshStatus": "<string>",
"lastRefreshedAt": "<string>",
"nextRefreshAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}Channels
Update a channel link
Updates your organization’s link settings for the channel. Does not change shared catalog channel fields.
PATCH
/
api
/
v2
/
channels
/
{id}
Update a channel link
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/channels/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"tracker": true,
"refreshIntervalHours": 1.25
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({tracker: true, refreshIntervalHours: 1.25})
};
fetch('https://beta.creatorcore.co/api/v2/channels/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/channels/{id}"
payload = {
"tracker": True,
"refreshIntervalHours": 1.25
}
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,
"channel": {
"link": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"globalChannelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tracker": true,
"refreshIntervalHours": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"displayName": "<string>"
},
"channel": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "tiktok",
"platformId": "<string>",
"handle": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"bio": "<string>",
"url": "<string>",
"refreshStatus": "<string>",
"lastRefreshedAt": "<string>",
"nextRefreshAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
}Authorizations
Was this page helpful?