Re-sync a YouTube account's videos
curl --request POST \
--url https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}YouTube
Re-sync a YouTube account's videos
POST
/
platforms
/
youtube
/
accounts
/
{id}
/
sync
Re-sync a YouTube account's videos
curl --request POST \
--url https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/sync"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}