Skip to main content
POST
/
api
/
core
/
feedback
/
{chat_type}
Submit feedback
curl --request POST \
  --url https://api.example.com/api/core/feedback/{chat_type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'image=<string>' \
  --form title= \
  --form 'thumbs_choice_reasons=[]' \
  --form individual_feedback= \
  --form expected_answer= \
  --form expected_sources= \
  --form thumbs_choice= \
  --form contact_name= \
  --form contact_email= \
  --form anonymous=true \
  --form entry_id= \
  --form chat_id= \
  --form use_case_id= \
  --form thread_id= \
  --form 'knowledge_asset_ids=[]' \
  --form answer_quality_rating=123 \
  --form image.0='@example-file'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Path Parameters

chat_type
enum<string>
required

Enum for the different types of chats in the system and especially the database.

Available options:
document,
knowledge_asset,
translation,
quick_action,
follow_up_questions,
other

Body

multipart/form-data
image
file | null
title
string
default:""
thumbs_choice_reasons
string
default:[]
individual_feedback
string
default:""
expected_answer
string
default:""
expected_sources
string
default:""
thumbs_choice
string
default:""
contact_name
string
default:""
contact_email
string
default:""
anonymous
string
default:true
entry_id
string
default:""
chat_id
string
default:""
use_case_id
string
default:""
thread_id
string
default:""
knowledge_asset_ids
string
default:[]
answer_quality_rating
integer | null

Response

Successful Response

message
string
required