Add a team rating for a creator
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{
"rating": 50
}'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rating: 50})
};
fetch('https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings"
payload = { "rating": 50 }
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"rating": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rating": 50,
"notes": "<string>",
"campaign": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"ratedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"avatarUrl": "<string>"
},
"createdAt": "<string>"
}
}Creator activity and ratings
Add a team rating for a creator
Creates a team rating (optionally linked to a campaign) and refreshes the creator’s aggregate creatorRating.
POST
/
api
/
v2
/
creators
/
{id}
/
team-ratings
Add a team rating for a creator
curl --request POST \
--url https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{
"rating": 50
}'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rating: 50})
};
fetch('https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/creators/{id}/team-ratings"
payload = { "rating": 50 }
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"rating": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rating": 50,
"notes": "<string>",
"campaign": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"ratedBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"avatarUrl": "<string>"
},
"createdAt": "<string>"
}
}Authorizations
Body
application/json
Was this page helpful?