POST
/
v1
/
conversations
/
{conversation_id}
/
feedback
curl --request POST \
  --url https://api.trata.ai/v1/conversations/{conversation_id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "comment": "Great service!"
}'
{
  "id": "cfb.1234567890",
  "conversationId": "con.1234567890",
  "comment": "Great service!",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "createdBy": "usr.1234567890"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversation_id
string
required

ID of the conversation

Body

application/json

Response

200
application/json

Feedback added successfully

Any feedback added to the conversation by business is managed here.