Mark all feedbacks in a conversation as reviewed
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/"
payload = { "conversation_id": "123e4567-e89b-12d3-a456-426614174000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({conversation_id: '123e4567-e89b-12d3-a456-426614174000'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conversation_id": "123e4567-e89b-12d3-a456-426614174000"
}
'{
"updated_count": 3,
"conversation_id": "123e4567-e89b-12d3-a456-426614174000",
"new_status": "reviewed"
}{
"error": "User not found"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Feedback
Mark all feedbacks in a conversation as reviewed
Update the status of all feedbacks associated with a specific conversation to “reviewed”.
Access Control:
- Admins can update all feedbacks in the project
- Regular users can only update feedback they submitted
Impersonation:
- When using impersonation, only updates feedback submitted by the impersonated user
POST
/
projects
/
{project_id}
/
feedbacks
/
mark_conversation_reviewed
/
Mark all feedbacks in a conversation as reviewed
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/"
payload = { "conversation_id": "123e4567-e89b-12d3-a456-426614174000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({conversation_id: '123e4567-e89b-12d3-a456-426614174000'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/feedbacks/mark_conversation_reviewed/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"conversation_id": "123e4567-e89b-12d3-a456-426614174000"
}
'{
"updated_count": 3,
"conversation_id": "123e4567-e89b-12d3-a456-426614174000",
"new_status": "reviewed"
}{
"error": "User not found"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Headers
Body
application/json
Response
Feedbacks updated successfully