cURL
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" }
Add Feedback to a Specific Conversation
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the conversation
Notes or comments to record
1 - 8192
"good"
Star rating to record
1 <= x <= 5
5
Feedback added successfully
Any feedback added to the conversation by business is managed here.