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."
}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
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
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
Email of the user to impersonate. Requires CAN_IMPERSONATE_OTHER_USERS permission.
If the target user is not found or does not have access to the project, the request
proceeds as the authenticated user. Contact Clarifeye to enable this permission.
Path Parameters
UUID of the project
Body
ID of the conversation whose feedbacks should be marked as reviewed
"123e4567-e89b-12d3-a456-426614174000"
Status to apply. Defaults to reviewed; to_review reopens the whole
conversation. Positive feedback is never touched by this endpoint.
to_review, reviewed, dismissed Response
Feedbacks updated successfully