Add feedback on a list item
curl --request POST \
--url https://beta.creatorcore.co/api/v2/lists/{id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
listItemId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
body: JSON.stringify('<string>')
})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}/feedback"
payload = {
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>"
}
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,
"feedback": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>",
"partnerName": "<string>",
"partnerEmail": "<string>",
"author": {
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Lists
Add feedback on a list item
Adds feedback for the list item specified by listItemId in the request body.
POST
/
api
/
v2
/
lists
/
{id}
/
feedback
Add feedback on a list item
curl --request POST \
--url https://beta.creatorcore.co/api/v2/lists/{id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>"
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
listItemId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
body: JSON.stringify('<string>')
})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}/feedback"
payload = {
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>"
}
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,
"feedback": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"listItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"body": "<string>",
"partnerName": "<string>",
"partnerEmail": "<string>",
"author": {
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"avatarUrl": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Authorizations
bearerOrgApiKey & orgIdHeadercookieAuth
Body
application/json
Was this page helpful?