POST
/
chats
/
{chat}
/
messages
/
{message}
/
feedback
curl --request POST \
  --url https://api.vectorify.ai/v1/chats/{chat}/messages/{message}/feedback \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "feedback": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "chat_id": "<string>",
    "role": "<string>",
    "user": {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "avatar": "<string>",
      "created_at": "<string>"
    },
    "text": "<string>",
    "text_html": "<string>",
    "identifier": "<string>",
    "feedback": "<string>",
    "created_at": "<string>"
  }
}

Authorizations

Api-Key
string
header
required

Path Parameters

chat
integer
required

The chat ID

message
integer
required

The message ID

Body

application/json

Response

201
application/json

ChatMessage

The response is of type object.